-
Notifications
You must be signed in to change notification settings - Fork 102
Support generic type jiti.import #330
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request