Skip to content

internal: use node erase-types instead of ts-node #4460

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

Draft
wants to merge 1 commit into
base: next
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node_version_to_setup: [20, 22, 24]
node_version_to_setup: [22, 24]
permissions:
contents: read # for actions/checkout
steps:
Expand Down
2 changes: 1 addition & 1 deletion .mocharc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ check-leaks: true
extension:
- ts
node-option:
- 'import=./resources/register-ts-node.js'
- 'experimental-strip-types=true'
6 changes: 6 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ export default tsConfig(
// eslint-plugin-import tries to parse all imported files included huge ones (e.g. 'typescript')
// that leads to very poor performance so to fix that we disable all checks on external files.
'import/ignore': '/node_modules/',
n: {
typescriptExtensionMap: [
['', '.ts'],
['.ts', '.ts'],
],
},
},
rules: {
//////////////////////////////////////////////////////////////////////////////
Expand Down
Loading
Loading