line-reader icon indicating copy to clipboard operation
line-reader copied to clipboard

Typescript

Open CyberMew opened this issue 4 years ago • 3 comments

Is there typescript support?

CyberMew avatar Dec 03 '20 15:12 CyberMew

There are type definitions in definitely typed if you install @types/line-reader, however, the types are incorrect and do not match with the docs. It's possible they were added a while ago and there have since been breaking changes. @stpettersens may be able to provide more details!

jescalan avatar Dec 23 '20 02:12 jescalan

Thanks, @jescalan.

@CyberMew

I wrote definitions for this project a few years ago, so may well be out of date but please find published below:

https://www.npmjs.com/package/@types/line-reader

It should be on https://definitelytyped.org / the repo for too: https://github.com/DefinitelyTyped/DefinitelyTyped

stpettersens avatar Dec 23 '20 07:12 stpettersens

Direct link: https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types%2Fline-reader

stpettersens avatar Dec 23 '20 07:12 stpettersens