Skip to content
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

fix: fix typecheck and run it in CI #261

Merged
merged 1 commit into from
Nov 3, 2023
Merged

fix: fix typecheck and run it in CI #261

merged 1 commit into from
Nov 3, 2023

Conversation

sapphi-red
Copy link
Member

Running pnpm tsc --noEmit showed many errors. This PR fixes that and also add pnpm typecheck and runs that in CI.

"compilerOptions": {
"target": "esnext",
"module": "nodenext",
"moduleResolution": "node",
"moduleResolution": "nodenext",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tsconfig.json:7:23 - error TS5109: Option 'moduleResolution' must be set to 'NodeNext' (or left unspecified) when option 'module' is set to 'NodeNext'.

7   "moduleResolution": "node",
                        ~~~~~~

This error was happening. Therefore I changed to nodenext and also added "allowImportingTsExtensions": true and "noEmit": true.

@dominikg dominikg merged commit ba4f736 into main Nov 3, 2023
1 check passed
@dominikg dominikg deleted the tsc branch November 3, 2023 09:51
danielroe pushed a commit to nuxt/ecosystem-ci that referenced this pull request Jan 3, 2024
haoqunjiang added a commit to vuejs/ecosystem-ci that referenced this pull request Jun 13, 2024
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.

2 participants