Skip to content

fix: decorator "SessionParam" is missing #519

Closed
@janaszer

Description

@janaszer

Hi. I think you forgot to reexport SessionParam decorator in your main index.ts file.
Session decorator is in place and there should be SessionParam as well
https://github.com/typestack/routing-controllers/blob/master/src/index.ts#L52

But following piece of code gives me error:
import { Session, SessionParam } from 'routing-controllers';

"routing-controllers" has no exported member 'SessionParam'

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: done/releasedIssue has been completed, no further action is needed.type: fixIssues describing a broken feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions