Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 816 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 816 Bytes

Shareable TypeScript config for Angular projects

image image

Quick start

$ npm install @angular-ru/typescript -D

Add to your tsconfig.json:

{
    extends: '@angular-ru/typescript/tsconfig.json',
    angularCompilerOptions: {
        // override shared angularCompilerOptions
        strictTemplates: true,
        disableTypeScriptVersionCheck: true
    },
    compilerOptions: {
        // override shared compilerOptions
        outDir: 'dist',
        target: 'es2018',
        lib: ['es2018'],
        typeRoots: ['./node_modules/@types']
    }
}