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-getting-started example tsconfig #310

Open
iSuslov opened this issue Jan 10, 2018 · 0 comments
Open

typescript-getting-started example tsconfig #310

iSuslov opened this issue Jan 10, 2018 · 0 comments

Comments

@iSuslov
Copy link

iSuslov commented Jan 10, 2018

Now tsconfig.json looks like that

{
  "compilerOptions": {
    "lib": ["es6"],
    "module": "commonjs",
    "noImplicitReturns": true,
    "outDir": "lib",
    "sourceMap": true,
    "target": "es6"
  },
  "compileOnSave": true,
  "include": [
    "src"
  ]
}

but property "lib" should have "dom" lib also like that: ["es6", "dom"]

Otherwise it won't compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant