Skip to content

Support generic type jiti.import #330

@hywax

Description

@hywax

Describe the feature

Now with jiti.import you have to cast the type directly via as Type. Since the returned type is unknown. I would like to avoid this by passing generic.

Casting a type directly is a bad practice that could play a bad role in the project in the future.

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions