isomorphic-git / lightning-fs

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

feat: Add typescript typings #51

Closed raldone01 closed 2 years ago

raldone01 commented 3 years ago

I will use this file in my project. If I notice any mistakes I will update my fork. Disclaimers: I have no idea if this is the correct way to add typings to a npm repo (especially the string in the module declaration). I have never created a type declaration file before. It may not be complete/incorrect.

JacksonKearl commented 3 years ago

Just wanted to say thanks for this! I've pulled it into my performance-oriented fork here https://github.com/JacksonKearl/lightning-fs/blob/main/src/index.d.ts

isomorphic-git-bot commented 2 years ago

:tada: This PR is included in version 4.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: