I'm trying to update the target property of the tsconfig.json file from es2015 to es2022. But I get an error when running the tests, which I think onl ...
I'm trying to update the target property of the tsconfig.json file from es2015 to es2022. But I get an error when running the tests, which I think onl ...
Minimal Reproducible Example First, here's a repo where the problem can be reproduced: https://github.com/wimdetroyer/litelement-ts-esbuild-axios t ...
I have an internal package with about the following structure: The index.ts is importing and exporting all the .d.ts files in ./types and all the . ...
I have a specific pattern to check whether a value is present or not after a user submission. Since I don't want to repeat this logic multiple times, ...
I'm using this tsconfig.json configuration: In package.json: When I run the command npm start I got this issue: and it is related to this fil ...
Typescript compiler handling of optional class properties seems to have changed from es2021 to es2022. with tsconfig target=es2021 results in wi ...
I have an Express app built in TypeScript that I'm attempting to compile using the tsc CLI tool. An issue that I'm facing, however, is that tsc seems ...
I have created a command in package.json using tsc-watch which is shown below: This works perfectly fine on mac but when I run it inside windows it ...
Project Structure I have a monorepo (using npm workspaces) that contains a directory api (an express API written in typescript). api uses a local pac ...
code struct like this: // instance code node_modules/source_code/index.ts // my truly code import { xxx } from 'source_code'; // Webpack config m ...
I'm working on a node-js project with typescript and using typescript path aliases here is my ts config: Project Structure:- Problem path ...
I have this on my tsconfig.json This allows me to import any module as following This works, and tsc compiles without any errors. However, when ...
I want to define interface | type inside the typescript class here is the code: but I'm getting this error: Unexpected token. A constructor, method ...
. Answers to this question are eligible for a +50 reputation bounty. Al ...
I'm new to TypeScript and while learning Call Signatures, I keep getting error if I store the function with let or const keyword. Like So: Call signa ...
I have a TypeScript project with the following directory structure: The tsconfig.json file has the following content: { "compilerOptions": { ...
I'm currently having issues after compiling my code to JS which do not happen when running the same code in ts-node. Assuming following code : It ...
I want to save errors in json file format so I can parse those errors in language of my choice (ruby/python) to refactor my code. I tried --pretty op ...
I want to divide an app in a TypeScript development environment into function files - so that each file contains only one function. I would like to re ...
I'm trying to create a npx package and to do so, i need to convert my .ts files into .js. The application i am making basically spits out typeScript t ...