We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to convert test.ts containing single function
test.ts
function add(a: number, b: number): number { return a + b; } console.log(add(6, 1))
eslint test.ts tsc test.ts
eslint test.ts
tsc test.ts
run without error/warnings.
but I'm getting following error with ts2nim
ts2nim -i test.ts -i test.nim
/home/jack/projects/ts_experiments/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/CLIEngine.js:12 class CLIEngine extends eslint_1.CLIEngine { ^ TypeError: Class extends value undefined is not a constructor or null at Object.<anonymous> (/home/jack/projects/ts_experiments/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/CLIEngine.js:12:34) at Module._compile (node:internal/modules/cjs/loader:1126:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) at Module.load (node:internal/modules/cjs/loader:1004:32) at Function.Module._load (node:internal/modules/cjs/loader:839:12) at Module.require (node:internal/modules/cjs/loader:1028:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/home/jack/projects/ts_experiments/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/index.js:14:14) at Module._compile (node:internal/modules/cjs/loader:1126:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to convert
test.ts
containing single functioneslint test.ts
tsc test.ts
run without error/warnings.
but I'm getting following error with ts2nim
ts2nim -i test.ts -i test.nim
The text was updated successfully, but these errors were encountered: