Skip to content

Commit

Permalink
feat(tsconfig): move ng-dev-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Jan 19, 2024
1 parent 5bb6164 commit 8f972bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion projects/tsconfig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@ Add to your `tsconfig.json`:
outDir: 'dist',
target: 'es2018',
lib: ['es2018'],
typeRoots: ['./node_modules/@types'],
types: ['ng-dev-mode'],
typeRoots: ['./node_modules/@types', './node_modules/@taiga-ui/tsconfig'],
},
}
```

or:

```ts
/// <reference types="@taiga-ui/tsconfig/ng-dev-mode" />

ngDevMode && console.log('My log');
```
File renamed without changes.

0 comments on commit 8f972bc

Please sign in to comment.