Skip to content

Instantly share code, notes, and snippets.

@cod3cow
Created April 26, 2017 07:58
Show Gist options
  • Save cod3cow/06a5e59fdf1df9204b9401577572da14 to your computer and use it in GitHub Desktop.
Save cod3cow/06a5e59fdf1df9204b9401577572da14 to your computer and use it in GitHub Desktop.
tsconfig.json for angular2 with lib:dom to find localStorage
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "../dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2016",
"dom"
]
}
}
@cod3cow
Copy link
Author

cod3cow commented Apr 26, 2017

If your favorite editor "cannot find name localStorage"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment