isomorphic-git / lightning-fs

A lean and fast 'fs' for the browser
MIT License
476 stars 47 forks source link

Usage in Typescript #48

Open Purus opened 4 years ago

Purus commented 4 years ago

Can you please let me about using this in TypeScript. currently there are no typings available.

Error:

  Try `npm install @types/isomorphic-git__lightning-fs` if it exists or add a new declaration (.d.ts) file containing `declare module '@isomorphic-git/lightning-fs';`ts(7016)
raldone01 commented 3 years ago

See my pull request.

jesseditson commented 2 years ago

Looks like this PR was landed, and also a DT package was published since this issue was created, although it needs adjustment to work correctly in strict mode (see: https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/58917).

Is there a maintainer who can publish a new package to npm including the index.d.ts from #51? Or should we improve the DT types?