-
Notifications
You must be signed in to change notification settings - Fork 1
Support for TypeScript 5.8 #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Requires typescript-eslint/typescript-eslint#10884 to be resolved before publishing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lftm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/compile.spec.ts
Outdated
[`thing.ts`]: `export const hello = 'world';`, | ||
}; | ||
|
||
const exportDefaultFunctionModule = { | ||
[`index.ts`]: `export default function () { return 'hello world' }\n`, | ||
[`export-default=function-module.ts`]: `export default function () { return 'hello world' }\n`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this meant to be export-default-function-module
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regarding the VSCode thing, moduleResolution
is set to bundler
and there is no change to this vs the prior version. Not sure why this wasn't an error before. Regardless, I can't think of a reason not to just set noEmit
to true
, since we never generate code using tsc
directly. Try this out, hopefully makes VSCode happy.
Beta Published - Install Command: |
✅ PR review status - All reviews completed and approved! |
Other than the obvious (updating to TypeScript 5.8), the following changes were made:
noUncheckedSideEffectImports
esbuild
where there was a difference in behavior between macOS and Linuxjest
, only usenode:test
runner