TL;DR: How do you include a tsconfig.json file in Visual Studio 2017 and still have JavaScript intellisense work like it does by default, giving code hints both for your own code and 3rd-party libraries? Is it borked, or do I just need a better under...
I have a hypothetical Typescript file in my project (simplified example).  Utils.ts:  import * as HelperFromNodeModules from 'helper-from-node-modules';  class Utils {   static foo() {     return HelperFromNodeModules.parse(...);   } }   Impo...
Is there a way to declare a different module name for a generated .d.ts file?  tsc generates declare module "index" { instead of declare module "@myorg/my-pkg" (which would match the name attribute in package.json).  Note: This is in...
Is it possible to exclude all test files only for the build but use them with nodemon to run tests locally? When I exclude test files within the tsconfig.json file I get a typescript error that it can't find the types of the testing library like...
I am trying to resolve warnings I get when using the closure compiler to minify my TypeScript application, using my tsconfig.json.  My current configuration:  {   "compilerOptions": {     "target": "es5",     "module":...
I have a TypeScript project that is used in Node.js, and I have decided to add type definitions so that IntelliSense can pick it up in Visual Studio Code. On my tsconfig.json, I have enabled definitions to be produced alongside the compiled JS, but I...
I am trying to use in my Angular 5 application a .js file which is avaible just in JavaScript language, so I can't find an alternative in TypeScript.  The problem is that I have added the "allowJs": true in my tsconfig.json, but the error...
In our Automation test we are using Protractor with Typescript. So we want to avoid the relative path. So in typescript we are using the baseURL and Path to resolve the relative path which is compiling fine.    "compilerOptions": {      "...
I am trying to call the function of the parent class from the child but the keyword super is throwing and error. I am using typescript, here is a snippet of the package.json from the project.  {   "scripts": {     "build": "tsc...
As exploring tsconfig.json file i stuck on what is exact meaning of incremental in tsconfig.json...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.