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

typescript 5.8 `libReplacement` option reported as unknown compiler option

Open dasa opened this issue 9 months ago • 1 comments

tsgo returns this error:

tsconfig.json:15:5 - error TS5023: Unknown compiler option 'libReplacement'.

15     "libReplacement": false,
       ~~~~~~~~~~~~~~~~

dasa avatar Mar 26 '25 21:03 dasa

This flag is a lot newer than the commit we're porting. In https://github.com/microsoft/typescript-go/tree/main/_submodules you can get a link to the version to expect behavior to more closely model.

jakebailey avatar Mar 26 '25 21:03 jakebailey

This should no longer be the case in the latest nightly.

jakebailey avatar Jun 04 '25 07:06 jakebailey