Skip to content
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

TypeScript - absolute path doesn't work #5762

Closed
bdavid68 opened this issue Nov 9, 2018 · 1 comment
Closed

TypeScript - absolute path doesn't work #5762

bdavid68 opened this issue Nov 9, 2018 · 1 comment

Comments

@bdavid68
Copy link

bdavid68 commented Nov 9, 2018

Is this a bug report?

Not Sure

Screenshot

2018-11-09_2206

It removes baseUrl and paths automatically from my project.

tsconfig.json

{
  "compilerOptions": {
    "outDir": "build/dist",
    "module": "esnext",
    "target": "es5",
    "lib": ["es6", "dom"],
    "sourceMap": true,
    "allowJs": true,
    "jsx": "react",
    "moduleResolution": "node",
    "rootDir": "src",
    "forceConsistentCasingInFileNames": true,
    "noImplicitReturns": true,
    "noImplicitThis": false,
    "noImplicitAny": false,
    "strictNullChecks": true,
    "suppressImplicitAnyIndexErrors": true,
    "noUnusedLocals": true,
    "downlevelIteration": true,
    "typeRoots": ["node_modules/@types", "types"],
    "baseUrl": "./",
    "paths" : {
      "src/*": ["./src/*"]
    }
  },
  "exclude": [
    "node_modules",
    "build",
    "scripts",
    "acceptance-tests",
    "webpack",
    "jest",
    "src/setupTests.ts"
  ]
}
@tkazec
Copy link

tkazec commented Nov 9, 2018

See #5692, #5645, #5118.

@lock lock bot locked and limited conversation to collaborators Jan 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants