A DRY-er syntax for jsdoc types imports #26352
Labels
checkJs
Relates to checking JavaScript using TypeScript
Domain: JavaScript
The issue relates to JavaScript specifically
Domain: JSDoc
Relates to JSDoc parsing and type generation
Duplicate
An existing issue was already created
Suggestion
An idea for TypeScript
Suggestion
So the current way of importing things in JS land for types declared in .d.ts is kind of really redundant
This violates the DRY principle and kind of looks awful.
Can we have a similar import syntax to the .ts and normal .js versions ?
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: