lightning-fs icon indicating copy to clipboard operation
lightning-fs copied to clipboard

Usage in Typescript

Open Purus opened this issue 4 years ago • 2 comments

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)

Purus avatar Jun 09 '20 13:06 Purus

See my pull request.

raldone01 avatar Jul 03 '20 07:07 raldone01

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?

jesseditson avatar Feb 22 '22 21:02 jesseditson