Skip to content

Use latest TypeScript compiler API#19

Open
coreylenertz wants to merge 1 commit into
pspeter3:masterfrom
coreylenertz:patch-1
Open

Use latest TypeScript compiler API#19
coreylenertz wants to merge 1 commit into
pspeter3:masterfrom
coreylenertz:patch-1

Conversation

@coreylenertz

Copy link
Copy Markdown

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

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 pspeter3#18
@pspeter3

pspeter3 commented Oct 8, 2017

Copy link
Copy Markdown
Owner

I highly recommend using ts-node instead.

@jimmihagenTrifecta

Copy link
Copy Markdown

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?

@pspeter3

pspeter3 commented Sep 8, 2022

Copy link
Copy Markdown
Owner

I would ask them to remove this project.

@banani720

Copy link
Copy Markdown

Is there an official fix regarding this?

@pspeter3

pspeter3 commented Sep 8, 2022

Copy link
Copy Markdown
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: checker.emitFiles is not a function

4 participants