diff --git a/package-lock.json b/package-lock.json
index 94f87b59ad5e7..a03a4be147614 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -50,7 +50,7 @@
"@taiga-ui/eslint-plugin-experience": "0.46.6",
"@taiga-ui/prettier-config": "0.7.0",
"@taiga-ui/stylelint-config": "0.12.5",
- "@taiga-ui/tsconfig": "0.12.0",
+ "@taiga-ui/tsconfig": "0.14.0",
"@tinkoff/ng-event-plugins": "3.1.0",
"@tinkoff/tui-editor": "1.11.0",
"@types/glob": "8.1.0",
@@ -4518,9 +4518,9 @@
"dev": true
},
"node_modules/@cspell/dict-companies": {
- "version": "3.0.30",
- "resolved": "https://registry.npmjs.org/@cspell/dict-companies/-/dict-companies-3.0.30.tgz",
- "integrity": "sha512-QAXXMbNLUCqYUsD7elXQ2MB7pUo3PRS9mg4PL/9WFBBY6x07pr0E4vWF9DIv51LG09esDn1cZT2UYS+U7U2iIw==",
+ "version": "3.0.31",
+ "resolved": "https://registry.npmjs.org/@cspell/dict-companies/-/dict-companies-3.0.31.tgz",
+ "integrity": "sha512-hKVpV/lcGKP4/DpEPS8P4osPvFH/YVLJaDn9cBIOH6/HSmL5LbFgJNKpMGaYRbhm2FEX56MKE3yn/MNeNYuesQ==",
"dev": true
},
"node_modules/@cspell/dict-cpp": {
@@ -4584,9 +4584,9 @@
"dev": true
},
"node_modules/@cspell/dict-en_us": {
- "version": "4.3.13",
- "resolved": "https://registry.npmjs.org/@cspell/dict-en_us/-/dict-en_us-4.3.13.tgz",
- "integrity": "sha512-T6lHiGCjloGNE0d8CogF+efJZPCAP8zdzn+KnlI0Bmjaz5nvG2LTX7CXl1zkOl1nYYev0FuIk9WJ9YPVRjcFbQ==",
+ "version": "4.3.14",
+ "resolved": "https://registry.npmjs.org/@cspell/dict-en_us/-/dict-en_us-4.3.14.tgz",
+ "integrity": "sha512-Od7vPVNN4td0Fild5BcCPikx+lBJ2L809zWeO3lThYHqtZXqsbaBNzfv9qlB1bXW199Ru461vu02CrklU1oD+Q==",
"dev": true
},
"node_modules/@cspell/dict-en-common-misspellings": {
@@ -4704,9 +4704,9 @@
"dev": true
},
"node_modules/@cspell/dict-npm": {
- "version": "5.0.14",
- "resolved": "https://registry.npmjs.org/@cspell/dict-npm/-/dict-npm-5.0.14.tgz",
- "integrity": "sha512-k0kC7/W2qG5YII+SW6s+JtvKrkZg651vizi5dv/5G2HmJaeLNgDqBVeeDk/uV+ntBorM66XG4BPMjSxoaIlC5w==",
+ "version": "5.0.15",
+ "resolved": "https://registry.npmjs.org/@cspell/dict-npm/-/dict-npm-5.0.15.tgz",
+ "integrity": "sha512-sX0X5YWNW54F4baW7b5JJB6705OCBIZtUqjOghlJNORS5No7QY1IX1zc5FxNNu4gsaCZITAmfMi4ityXEsEThA==",
"dev": true
},
"node_modules/@cspell/dict-php": {
@@ -7003,9 +7003,9 @@
"integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
},
"node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.21",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.21.tgz",
- "integrity": "sha512-SRfKmRe1KvYnxjEMtxEr+J4HIeMX5YBg/qhRHpxEIGjhX1rshcHlnFUE9K0GazhVKWM7B+nARSkV8LuvJdJ5/g==",
+ "version": "0.3.22",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz",
+ "integrity": "sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==",
"dependencies": {
"@jridgewell/resolve-uri": "^3.1.0",
"@jridgewell/sourcemap-codec": "^1.4.14"
@@ -9802,9 +9802,9 @@
"dev": true
},
"node_modules/@sinonjs/commons": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz",
- "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==",
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz",
+ "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==",
"dev": true,
"dependencies": {
"type-detect": "4.0.8"
@@ -10085,9 +10085,9 @@
"link": true
},
"node_modules/@taiga-ui/tsconfig": {
- "version": "0.12.0",
- "resolved": "https://registry.npmjs.org/@taiga-ui/tsconfig/-/tsconfig-0.12.0.tgz",
- "integrity": "sha512-DO89PE5ProSFzLI+q/Mbwez5BOZHkZsVIEVA2ohz+FAtQVVUxt2S5mVupsoSxAqt5/CG4G8aNOzSFBkPQHfQcw==",
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/@taiga-ui/tsconfig/-/tsconfig-0.14.0.tgz",
+ "integrity": "sha512-oTexlSMAxU5RGX+Yf883W2+/uc/PnM4HGESR0juRwQg96pLwiFwYQsIWXzR7va31Vd/m3mdvZbJjJcwmxLpeTw==",
"dev": true
},
"node_modules/@tinkoff/angular-contenteditable-accessor": {
@@ -16988,9 +16988,9 @@
"hasInstallScript": true
},
"node_modules/core-js-compat": {
- "version": "3.35.0",
- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.35.0.tgz",
- "integrity": "sha512-5blwFAddknKeNgsjBzilkdQ0+YK8L1PfqPYq40NOYMYFSS38qj+hpTcLLWwpIwA2A5bje/x5jmVn2tzUMg9IVw==",
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.35.1.tgz",
+ "integrity": "sha512-sftHa5qUJY3rs9Zht1WEnmkvXputCyDBczPnr7QDgL8n3qrF3CMXY4VPSYtOLLiOUJcah2WNXREd48iOl6mQIw==",
"dev": true,
"dependencies": {
"browserslist": "^4.22.2"
@@ -18974,9 +18974,9 @@
}
},
"node_modules/dotenv": {
- "version": "16.3.1",
- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz",
- "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==",
+ "version": "16.3.2",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.2.tgz",
+ "integrity": "sha512-HTlk5nmhkm8F6JcdXvHIzaorzCoziNQT9mGxLPVXW8wJF1TiGSL60ZGB4gHWabHOaMmWmhvk2/lPHfnBiT78AQ==",
"dev": true,
"engines": {
"node": ">=12"
@@ -19206,9 +19206,9 @@
}
},
"node_modules/electron-to-chromium": {
- "version": "1.4.638",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.638.tgz",
- "integrity": "sha512-gpmbAG2LbfPKcDaL5m9IKutKjUx4ZRkvGNkgL/8nKqxkXsBVYykVULboWlqCrHsh3razucgDJDuKoWJmGPdItA=="
+ "version": "1.4.640",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.640.tgz",
+ "integrity": "sha512-z/6oZ/Muqk4BaE7P69bXhUhpJbUM9ZJeka43ZwxsDshKtePns4mhBlh8bU5+yrnOnz3fhG82XLzGUXazOmsWnA=="
},
"node_modules/elliptic": {
"version": "6.5.4",
@@ -21885,9 +21885,9 @@
}
},
"node_modules/feather-icons/node_modules/core-js": {
- "version": "3.35.0",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.35.0.tgz",
- "integrity": "sha512-ntakECeqg81KqMueeGJ79Q5ZgQNR+6eaE8sxGCx62zMbAIj65q+uYvatToew3m6eAGdU4gNZwpZ34NMe4GYswg==",
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.35.1.tgz",
+ "integrity": "sha512-IgdsbxNyMskrTFxa9lWHyMwAJU5gXOPP+1yO+K59d50VLVAIDAbs7gIv705KzALModfK3ZrSZTPNpC0PQgIZuw==",
"dev": true,
"hasInstallScript": true,
"funding": {
@@ -34389,9 +34389,9 @@
}
},
"node_modules/rfdc": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz",
- "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==",
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.1.tgz",
+ "integrity": "sha512-r5a3l5HzYlIC68TpmYKlxWjmOP6wiPJ1vWv2HeLhNsRZMrCkxeqxiHlQ21oXmQ4F3SiryXBHhAD7JZqvOJjFmg==",
"dev": true
},
"node_modules/rimraf": {
diff --git a/package.json b/package.json
index a7af8624797ad..06e0e440e6161 100644
--- a/package.json
+++ b/package.json
@@ -136,7 +136,7 @@
"@taiga-ui/eslint-plugin-experience": "0.46.6",
"@taiga-ui/prettier-config": "0.7.0",
"@taiga-ui/stylelint-config": "0.12.5",
- "@taiga-ui/tsconfig": "0.12.0",
+ "@taiga-ui/tsconfig": "0.14.0",
"@tinkoff/ng-event-plugins": "3.1.0",
"@tinkoff/tui-editor": "1.11.0",
"@types/glob": "8.1.0",
diff --git a/projects/addon-doc/utils/to-flat-map-pages.ts b/projects/addon-doc/utils/to-flat-map-pages.ts
index 2a87ae9e207f3..da146ac53c0ce 100644
--- a/projects/addon-doc/utils/to-flat-map-pages.ts
+++ b/projects/addon-doc/utils/to-flat-map-pages.ts
@@ -1,3 +1,4 @@
+///
import type {TuiDocPage} from '@taiga-ui/addon-doc/interfaces';
import type {TuiDocPages} from '@taiga-ui/addon-doc/types';
diff --git a/projects/addon-tablebars/services/table-bars.service.ts b/projects/addon-tablebars/services/table-bars.service.ts
index 89b64079619e9..33965c3e5905b 100644
--- a/projects/addon-tablebars/services/table-bars.service.ts
+++ b/projects/addon-tablebars/services/table-bars.service.ts
@@ -1,3 +1,4 @@
+///
import {Injectable} from '@angular/core';
import {tuiAssert, tuiIsObserved} from '@taiga-ui/cdk';
import {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';
diff --git a/projects/cdk/abstract/control.ts b/projects/cdk/abstract/control.ts
index c6e95b3e8644d..ba9cc204795b2 100644
--- a/projects/cdk/abstract/control.ts
+++ b/projects/cdk/abstract/control.ts
@@ -1,3 +1,4 @@
+///
import {
ChangeDetectorRef,
Directive,
diff --git a/projects/cdk/classes/assert.ts b/projects/cdk/classes/assert.ts
index ce7c3af9cecfd..ffcf3ad2c4171 100644
--- a/projects/cdk/classes/assert.ts
+++ b/projects/cdk/classes/assert.ts
@@ -1,3 +1,4 @@
+///
import {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';
export const tuiAssert = {
diff --git a/projects/cdk/date-time/day-range.ts b/projects/cdk/date-time/day-range.ts
index 95648376620d3..61a071f51296e 100644
--- a/projects/cdk/date-time/day-range.ts
+++ b/projects/cdk/date-time/day-range.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
import {TuiDateMode} from '@taiga-ui/cdk/types';
diff --git a/projects/cdk/date-time/day.ts b/projects/cdk/date-time/day.ts
index 833c1ea5d86cf..62470b297ee78 100644
--- a/projects/cdk/date-time/day.ts
+++ b/projects/cdk/date-time/day.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
import {TuiDayOfWeek, TuiMonthNumber} from '@taiga-ui/cdk/enums';
import {
diff --git a/projects/cdk/date-time/month-range.ts b/projects/cdk/date-time/month-range.ts
index 54aed7ed26f91..d8b626da2cf46 100644
--- a/projects/cdk/date-time/month-range.ts
+++ b/projects/cdk/date-time/month-range.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
import {RANGE_SEPARATOR_CHAR} from './date-time';
diff --git a/projects/cdk/date-time/month.ts b/projects/cdk/date-time/month.ts
index 9c5452dc8a4e2..6e78257289897 100644
--- a/projects/cdk/date-time/month.ts
+++ b/projects/cdk/date-time/month.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
import {TuiMonthNumber} from '@taiga-ui/cdk/enums';
import {TuiMonthLike} from '@taiga-ui/cdk/interfaces';
diff --git a/projects/cdk/date-time/time.ts b/projects/cdk/date-time/time.ts
index 2332f7217814e..7987d881e104a 100644
--- a/projects/cdk/date-time/time.ts
+++ b/projects/cdk/date-time/time.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
import {TuiTimeLike} from '@taiga-ui/cdk/interfaces';
import {TuiTimeMode} from '@taiga-ui/cdk/types';
diff --git a/projects/cdk/date-time/year.ts b/projects/cdk/date-time/year.ts
index d1cbc61d32676..0eb7acbf1706a 100644
--- a/projects/cdk/date-time/year.ts
+++ b/projects/cdk/date-time/year.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
import {TuiYearLike} from '@taiga-ui/cdk/interfaces';
import {tuiInRange, tuiNormalizeToIntNumber} from '@taiga-ui/cdk/utils/math';
diff --git a/projects/cdk/decorators/default-prop.ts b/projects/cdk/decorators/default-prop.ts
index e372f8fe60412..678cd4cc1f17b 100644
--- a/projects/cdk/decorators/default-prop.ts
+++ b/projects/cdk/decorators/default-prop.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
import {TuiBooleanHandler} from '@taiga-ui/cdk/types';
diff --git a/projects/cdk/exceptions/computed-document.exception.ts b/projects/cdk/exceptions/computed-document.exception.ts
index fc1a92796b3c2..b6af7b661e2ec 100644
--- a/projects/cdk/exceptions/computed-document.exception.ts
+++ b/projects/cdk/exceptions/computed-document.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiComputedDocumentException extends Error {
constructor() {
super(ngDevMode ? 'Only use computedDocument after load event' : '');
diff --git a/projects/cdk/exceptions/document-selection.exception.ts b/projects/cdk/exceptions/document-selection.exception.ts
index dcc536a625c5a..ad702ee1fbf0c 100644
--- a/projects/cdk/exceptions/document-selection.exception.ts
+++ b/projects/cdk/exceptions/document-selection.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiDocumentSelectionException extends Error {
constructor() {
super(ngDevMode ? 'Failed to get document selection' : '');
diff --git a/projects/cdk/exceptions/invalid-day.exception.ts b/projects/cdk/exceptions/invalid-day.exception.ts
index 0667b428c7f12..28647d5f5a4ee 100644
--- a/projects/cdk/exceptions/invalid-day.exception.ts
+++ b/projects/cdk/exceptions/invalid-day.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiInvalidDayException extends Error {
constructor(day: number) {
super(ngDevMode ? `Invalid day: ${day}` : '');
diff --git a/projects/cdk/exceptions/invalid-year.exception.ts b/projects/cdk/exceptions/invalid-year.exception.ts
index e2fe468c1db63..bb75153947943 100644
--- a/projects/cdk/exceptions/invalid-year.exception.ts
+++ b/projects/cdk/exceptions/invalid-year.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiInvalidYearException extends Error {
constructor(year: number) {
super(ngDevMode ? `Invalid year: ${year}` : '');
diff --git a/projects/cdk/exceptions/no-host.exception.ts b/projects/cdk/exceptions/no-host.exception.ts
index eab62fd08f3ea..3c710ff247b2e 100644
--- a/projects/cdk/exceptions/no-host.exception.ts
+++ b/projects/cdk/exceptions/no-host.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiNoHostException extends Error {
constructor() {
super(ngDevMode ? 'Portals cannot be used without TuiPortalHostComponent' : '');
diff --git a/projects/cdk/exceptions/owner-document.exception.ts b/projects/cdk/exceptions/owner-document.exception.ts
index 133693d072a61..3ba0323cd97d0 100644
--- a/projects/cdk/exceptions/owner-document.exception.ts
+++ b/projects/cdk/exceptions/owner-document.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiOwnerDocumentException extends Error {
constructor() {
super(ngDevMode ? 'Element does not have ownerDocument' : '');
diff --git a/projects/cdk/exceptions/pure.exception.ts b/projects/cdk/exceptions/pure.exception.ts
index 131a74ed3aa7f..32415418cb750 100644
--- a/projects/cdk/exceptions/pure.exception.ts
+++ b/projects/cdk/exceptions/pure.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiPureException extends Error {
constructor() {
super(ngDevMode ? 'tuiPure can only be used with functions or getters' : '');
diff --git a/projects/cdk/exceptions/table-sort-key.exception.ts b/projects/cdk/exceptions/table-sort-key.exception.ts
index 3a9f93f7e2894..767fe4ec836bb 100644
--- a/projects/cdk/exceptions/table-sort-key.exception.ts
+++ b/projects/cdk/exceptions/table-sort-key.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiTableSortKeyException extends Error {
constructor() {
super(ngDevMode ? 'Trying to sort with no key' : '');
diff --git a/projects/cdk/exceptions/ts-parser.exception.ts b/projects/cdk/exceptions/ts-parser.exception.ts
index fad2521e6fe8c..138477231e6b7 100644
--- a/projects/cdk/exceptions/ts-parser.exception.ts
+++ b/projects/cdk/exceptions/ts-parser.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiTsParserException extends Error {
constructor() {
super(ngDevMode ? 'TsFileParser: 1 component/module per ts-file' : '');
diff --git a/projects/cdk/exceptions/value-changes.exception.ts b/projects/cdk/exceptions/value-changes.exception.ts
index f8bc2e4b67282..2da258230f79d 100644
--- a/projects/cdk/exceptions/value-changes.exception.ts
+++ b/projects/cdk/exceptions/value-changes.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiValueChangesException extends Error {
constructor() {
super(ngDevMode ? 'Control does not have valueChanges' : '');
diff --git a/projects/cdk/exceptions/xml-parsing.exception.ts b/projects/cdk/exceptions/xml-parsing.exception.ts
index 10c1b8731e320..d6d7447abad33 100644
--- a/projects/cdk/exceptions/xml-parsing.exception.ts
+++ b/projects/cdk/exceptions/xml-parsing.exception.ts
@@ -1,3 +1,4 @@
+///
export class TuiXmlParsingException extends Error {
constructor() {
super(ngDevMode ? 'Error parsing XML string' : '');
diff --git a/projects/cdk/schematics/tsconfig.schematics.json b/projects/cdk/schematics/tsconfig.schematics.json
index 4389bf18cab1a..efe341f0d796a 100644
--- a/projects/cdk/schematics/tsconfig.schematics.json
+++ b/projects/cdk/schematics/tsconfig.schematics.json
@@ -9,7 +9,7 @@
"composite": false,
"incremental": false,
"tsBuildInfoFile": null,
- "types": ["node", "webpack-env", "ng-dev-mode"]
+ "types": ["node", "webpack-env"]
},
"include": ["../constants/version.ts", "./**/*", "./**/collection.json", "./**/migration.json", "./**/schema.json"],
"exclude": ["./**/*.spec.ts"]
diff --git a/projects/cdk/services/scroll.service.ts b/projects/cdk/services/scroll.service.ts
index f1027713456a4..10d47526eac62 100644
--- a/projects/cdk/services/scroll.service.ts
+++ b/projects/cdk/services/scroll.service.ts
@@ -1,3 +1,4 @@
+///
import {Inject, Injectable} from '@angular/core';
import {ANIMATION_FRAME, PERFORMANCE} from '@ng-web-apis/common';
import {tuiAssert} from '@taiga-ui/cdk/classes';
diff --git a/projects/cdk/utils/dom/get-element-offset.ts b/projects/cdk/utils/dom/get-element-offset.ts
index a73159e709570..0f2704a7e766a 100644
--- a/projects/cdk/utils/dom/get-element-offset.ts
+++ b/projects/cdk/utils/dom/get-element-offset.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
import {tuiIsHTMLElement} from './element-checks';
diff --git a/projects/cdk/utils/format/px.ts b/projects/cdk/utils/format/px.ts
index 17cdf09c98be6..79b5cf83ddb24 100644
--- a/projects/cdk/utils/format/px.ts
+++ b/projects/cdk/utils/format/px.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
/**
diff --git a/projects/cdk/utils/math/clamp.ts b/projects/cdk/utils/math/clamp.ts
index e61313e78bfe6..2e979fa5973f7 100644
--- a/projects/cdk/utils/math/clamp.ts
+++ b/projects/cdk/utils/math/clamp.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
/**
diff --git a/projects/cdk/utils/math/in-range.ts b/projects/cdk/utils/math/in-range.ts
index 0a93d23346a1c..dc94bdb0e7f67 100644
--- a/projects/cdk/utils/math/in-range.ts
+++ b/projects/cdk/utils/math/in-range.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
export function tuiInRange(
diff --git a/projects/cdk/utils/math/normalize-to-int-number.ts b/projects/cdk/utils/math/normalize-to-int-number.ts
index bbae3fdcbaa0d..de49a385cf46f 100644
--- a/projects/cdk/utils/math/normalize-to-int-number.ts
+++ b/projects/cdk/utils/math/normalize-to-int-number.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
/**
diff --git a/projects/cdk/utils/math/quantize.ts b/projects/cdk/utils/math/quantize.ts
index d58fefd8dcf62..fc72139d10c81 100644
--- a/projects/cdk/utils/math/quantize.ts
+++ b/projects/cdk/utils/math/quantize.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
/**
diff --git a/projects/cdk/utils/math/round.ts b/projects/cdk/utils/math/round.ts
index 52e63e1662d68..f10da232db0c7 100644
--- a/projects/cdk/utils/math/round.ts
+++ b/projects/cdk/utils/math/round.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
const MAX_PRECISION = 292;
diff --git a/projects/cdk/utils/miscellaneous/ease-in-out-quad.ts b/projects/cdk/utils/miscellaneous/ease-in-out-quad.ts
index 8bb5e853f93cb..24afa29498bf2 100644
--- a/projects/cdk/utils/miscellaneous/ease-in-out-quad.ts
+++ b/projects/cdk/utils/miscellaneous/ease-in-out-quad.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk/classes';
export function tuiEaseInOutQuad(t: number): number {
diff --git a/projects/core/components/svg/svg.component.ts b/projects/core/components/svg/svg.component.ts
index a3e739598eb43..3ef2b8dac1001 100644
--- a/projects/core/components/svg/svg.component.ts
+++ b/projects/core/components/svg/svg.component.ts
@@ -1,3 +1,4 @@
+///
import {DOCUMENT} from '@angular/common';
import {
ChangeDetectionStrategy,
diff --git a/projects/core/pipes/calendar-sheet/utils.ts b/projects/core/pipes/calendar-sheet/utils.ts
index f0fa1ba7f7a43..9ba76ff5af2cc 100644
--- a/projects/core/pipes/calendar-sheet/utils.ts
+++ b/projects/core/pipes/calendar-sheet/utils.ts
@@ -1,3 +1,4 @@
+///
import {
DAYS_IN_WEEK,
tuiAssert,
diff --git a/projects/core/pipes/format-phone/format-phone.pipe.ts b/projects/core/pipes/format-phone/format-phone.pipe.ts
index eb4545d745617..07c4e5c5bbf95 100644
--- a/projects/core/pipes/format-phone/format-phone.pipe.ts
+++ b/projects/core/pipes/format-phone/format-phone.pipe.ts
@@ -1,3 +1,4 @@
+///
import {Pipe, PipeTransform} from '@angular/core';
import {CHAR_PLUS, tuiAssert} from '@taiga-ui/cdk';
import {tuiFormatPhone} from '@taiga-ui/core/utils/format';
diff --git a/projects/core/services/svg.service.ts b/projects/core/services/svg.service.ts
index 5ba1fc512c78b..a5e75baee6456 100644
--- a/projects/core/services/svg.service.ts
+++ b/projects/core/services/svg.service.ts
@@ -1,3 +1,4 @@
+///
import {Inject, Injectable, Optional, Sanitizer, SecurityContext} from '@angular/core';
import {DomSanitizer, SafeHtml} from '@angular/platform-browser';
import {tuiAssert} from '@taiga-ui/cdk';
diff --git a/projects/core/utils/mask/create-auto-corrected-money-pipe.ts b/projects/core/utils/mask/create-auto-corrected-money-pipe.ts
index e4704e9d90a1c..633f6d0b0e7e9 100644
--- a/projects/core/utils/mask/create-auto-corrected-money-pipe.ts
+++ b/projects/core/utils/mask/create-auto-corrected-money-pipe.ts
@@ -1,3 +1,4 @@
+///
import {
CHAR_HYPHEN,
CHAR_NO_BREAK_SPACE,
diff --git a/projects/core/utils/mask/create-correction-mask.ts b/projects/core/utils/mask/create-correction-mask.ts
index 4f66c26aeb4c3..a8e54b860f956 100644
--- a/projects/core/utils/mask/create-correction-mask.ts
+++ b/projects/core/utils/mask/create-correction-mask.ts
@@ -1,3 +1,4 @@
+///
import {tuiAssert} from '@taiga-ui/cdk';
import {MASK_CARET_TRAP} from '@taiga-ui/core/constants';
import {
diff --git a/projects/core/utils/mask/create-number-mask.ts b/projects/core/utils/mask/create-number-mask.ts
index 380e63a4bd2f6..dbb2e623b6367 100644
--- a/projects/core/utils/mask/create-number-mask.ts
+++ b/projects/core/utils/mask/create-number-mask.ts
@@ -1,3 +1,4 @@
+///
import {CHAR_EN_DASH, CHAR_HYPHEN, CHAR_NO_BREAK_SPACE, tuiAssert} from '@taiga-ui/cdk';
import {
MASK_CARET_TRAP,
diff --git a/projects/demo-cypress/tsconfig.json b/projects/demo-cypress/tsconfig.json
index 19f22755f1044..844ea99f0f938 100644
--- a/projects/demo-cypress/tsconfig.json
+++ b/projects/demo-cypress/tsconfig.json
@@ -1,8 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
- "typeRoots": ["../../node_modules/@types", "../../node_modules/cypress/types", "../../scripts/types"],
- "types": ["cypress", "node", "ng-dev-mode"]
+ "typeRoots": ["../../node_modules/@types", "../../node_modules/cypress/types"],
+ "types": ["cypress", "node"]
},
"include": ["./cypress/**/*.ts"],
"exclude": []
diff --git a/projects/kit/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.ts b/projects/kit/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.ts
index 59ddd2b462834..abc31e4aebcad 100644
--- a/projects/kit/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.ts
+++ b/projects/kit/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.ts
@@ -1,3 +1,4 @@
+///
import {
AfterContentInit,
ChangeDetectionStrategy,
diff --git a/tsconfig.json b/tsconfig.json
index 57ca78b969ec9..ddb6df62e5e2a 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -5,12 +5,7 @@
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist",
- "typeRoots": [
- "node_modules/@types",
- "node_modules/@taiga-ui/tsconfig/@types",
- "../node_modules/@types",
- "../node_modules/@taiga-ui/tsconfig/@types"
- ],
+ "typeRoots": ["node_modules/@types"],
"paths": {
"@demo-cypress/*": ["projects/demo-cypress/cypress/*"],
"@demo-playwright/utils": ["projects/demo-playwright/utils/index"],
diff --git a/tsconfig.spec.json b/tsconfig.spec.json
index 0fdb7503d7277..1b3e39277bb0d 100644
--- a/tsconfig.spec.json
+++ b/tsconfig.spec.json
@@ -2,6 +2,6 @@
"extends": "./tsconfig.json",
"exclude": ["projects/demo-cypress", "**/scripts/**/*.ts"],
"compilerOptions": {
- "types": ["jest", "node", "webpack-env", "ng-dev-mode"]
+ "types": ["jest", "node", "webpack-env"]
}
}