typescript-register icon indicating copy to clipboard operation
typescript-register copied to clipboard

Use latest TypeScript compiler API

Open coreylenertz opened this issue 7 years ago • 5 comments

Please read more at https://github.com/Microsoft/TypeScript-wiki/blob/master/Using-the-Compiler-API.md#a-minimal-compiler

The object returned by program.emit() appears to match the previous api { emitSkipped: false, diagnostics: [], sourceMaps: undefined }

Fixes #18

coreylenertz avatar Sep 27 '17 19:09 coreylenertz

I highly recommend using ts-node instead.

pspeter3 avatar Oct 08 '17 15:10 pspeter3

Hi!! I'm trying to use KnexJS, and it uses this package, which creates this error "checker.emitFiles is not a function", in 2022.

Any chance anyone here can fix this, or should I just ask KnexJS to remove this package, since it doesn't appear to be active?

jimmihagenTrifecta avatar Sep 08 '22 02:09 jimmihagenTrifecta

I would ask them to remove this project.

pspeter3 avatar Sep 08 '22 05:09 pspeter3

Is there an official fix regarding this?

banani720 avatar Sep 08 '22 18:09 banani720

This library is unmaintained. There are much better options out there these days, mostly using ESBuild

pspeter3 avatar Sep 08 '22 19:09 pspeter3