-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
choreSmall changes or internal project maintenanceSmall changes or internal project maintenancediscussionIssues or PRs with this label will never staleIssues or PRs with this label will never staleinternalsChange that won't impact the surface API.Change that won't impact the surface API.typescriptTypeScript relatedTypeScript relatedv2.xIssue or pr related to Fastify v2Issue or pr related to Fastify v2
Description
With the in progress fastify core refactor (#1475) I'd like to work on our overall TypeScript support. I'm going to assign this task to myself and see what I can come up with. A lot of what I'll be doing is currently just ideas I have. I don't know what will stick and what wont so I'll see where it goes as I work on it!
Some ideas I have at the moment include:
- better TypeScript testing
- improving docs on types for plugins
- improving internal type coverage
I know not everyone relies on internal types, but it would be great to have for editor integration. This is probably going to be the hardest task but I'd like to investigate nonetheless. - decoupling of types for better maintenance
With all of the types jammed into one file it can be hard to maintain. As most offastifyis being refactored into individual things I'd like to investigate a similar structure with the typings.
If you have any preliminary feedback or ideas, lets discuss 😄
(also I want to be clear that any changes I make will not impact the non-typed dev experience with Fastify as I know that is a value we uphold in this project 👍)
corbinu, mcollina, Shyam-Chen, fuafa, evanshortiss and 11 more
Metadata
Metadata
Assignees
Labels
choreSmall changes or internal project maintenanceSmall changes or internal project maintenancediscussionIssues or PRs with this label will never staleIssues or PRs with this label will never staleinternalsChange that won't impact the surface API.Change that won't impact the surface API.typescriptTypeScript relatedTypeScript relatedv2.xIssue or pr related to Fastify v2Issue or pr related to Fastify v2