I'm learning typescript, and when I transpiled the code with npx tsc index.ts it threw 10 errors, however, it still transpiled the file. I tried mo ...
I'm learning typescript, and when I transpiled the code with npx tsc index.ts it threw 10 errors, however, it still transpiled the file. I tried mo ...
Im working on a project in which i'm trying to simplify the syntax of an older package, i.e.: I want to convert something like digitalPulse(LED2,1,1 ...
I am having issues converting a piece of JAVA based code into ECMAScript/TypeScript, may someone can help. There are two parts I struggle to convert a ...
I have this code in Typescript When I try to transpile my code in the CLI with It shows this error: So I included the tsconfig.json with thes ...
Is there any way to enforce an object parameter cannot be changed in typescript, e.g. ...
I am struggling with transpiling ts for some time now. I have an npm package with typescript files and some node_modules all linked together. And i ...
I really love Ruby when it comes to writing DSL's. (Domain specific language) The DSL syntax is cleaner and more readable than DSL's written in other ...
I'm trying to figure out why this isn't working: File "<unknown>", line 57 pos_vecs = np.array([State.x(1) - bspos(:,1),State.x(2) - bspos(:, ...
I use typescript to make NPM module and I write modules like export default xyz; but I'd like TSC to translate it to CommonJS on transpilation. And I ...
We're working on fixing a .babelrc.js file that seemingly doesn't load plugins/presets as intended, and I'm wondering if there's any way we can print ...
I have a Fortran program that I used f2c to convert to C because I need to run it on iOS so this would be my only option. The program relies on file r ...
I'm using Esprima, estraverse, and escodegen to transform JavaScript code to add infinite loop guards inspired by Codepen But I have a problem in add ...
I'm initiating an aws-cdk project with the following structure My package.json is as under yarn lint and yarn typecheck runs ok However, yarn b ...
. Answers to this question are eligible for a +100 reputation bounty. o ...
I made a lib project using NX here : https://github.com/geofmigliacci/magnetarise so I can transpile & I get my dist folder like so : The thing ...
I am currently writing a transpiler from a Domain specific language to Fortran in Haskell. I have been able to implement a parser and have managed to ...
I recently got this question in school about frontend javascript frameworks, "Why are other frameworks that convert code into vanilla javascript calle ...
Currently I am running node v16.13.1 and I wrote small npm package I would like to publish to npm and then install globally and run as executable. Ap ...
I have been using Svelte, TypeScript and Rollup (letting TypeScript handle the transpilation) to target ES7. Now I'm starting a new project and need t ...
why does tsc dump the "implements ..." part of the following Typescript class when compiling to JavaScript ? tsc version: Version 4.6.2 / Node versio ...