Skip to content

How to add types file for javascript lib #14902

Answered by nayeemrmn
SettingDust asked this question in Q&A
Discussion options

You must be logged in to vote

As you mentioned in gildas-lormeau/zip.js#335 (comment), adding /// <reference types="./index.d.ts" /> to the top of index.js fixes typing on Deno, you should go ahead and contribute that change. Beyond that is a problem with the webstorm extension.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SettingDust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants