Closed yuxino closed 4 years ago
I will show you how to write a high-quality TypeScript Declaration File through several steps.
It's because I'm writing my own library - lemuro, and I find there's a problem with the type hint.
The reason it doesn't work is that lemuro is coding by JS, not Typescript and missing types filed in package.json.
types
package.json
I will show you how to write the dts files is the best way ~
少女祈祷中
I will show you how to write a high-quality TypeScript Declaration File through several steps.
It's because I'm writing my own library - lemuro, and I find there's a problem with the type hint.
The reason it doesn't work is that lemuro is coding by JS, not Typescript and missing
types
filed inpackage.json
.I will show you how to write the dts files is the best way ~
where sholud we put dts file
少女祈祷中
can & can't
少女祈祷中