-
Notifications
You must be signed in to change notification settings - Fork 4
Generate .d.ts files #894
Copy link
Copy link
Open
Labels
effort: ModerateWill take a good amount of time and experience with the codebase, but feasible.Will take a good amount of time and experience with the codebase, but feasible.
Milestone
Metadata
Metadata
Assignees
Labels
effort: ModerateWill take a good amount of time and experience with the codebase, but feasible.Will take a good amount of time and experience with the codebase, but feasible.
Type
Fields
Give feedbackNo fields configured for issues without a type.
It seems like deno doesn't have great support for parsing JSDoc types. This has several effects:
There's some documentation on how to do this here:
https://www.typescriptlang.org/docs/handbook/declaration-files/dts-from-js.html
I tried running this in the
jsrPackagedirectory:I had reasonable success with this. Although it seems like it is incredibly slow right now. It's generating lots of large types for
binarySerialization.js. We might have to convertbinarySerializationTypes.tsto JSDoc as well (#791 related)