-
-
Notifications
You must be signed in to change notification settings - Fork 9
Add TypeScript types #41
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest
We need to add TypeScript types, if possible as part of the build chain.
An example would be
with the following tsconfig.json
{ "include": [ "dist/ThinStorage.js" ], "compilerOptions": { "declaration": true, "emitDeclarationOnly": true, "allowJs": true } }However, I'm still undecided whether to add
tscas devDependency or require it globally (which then would imply updating our CI workflows to maketscavailable for the build step)