diff --git a/package.json b/package.json index 9d2029183..9f767342d 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "@rollup/plugin-yaml": "^4.1.2", "@shikijs/rehype": "^1.1.3", "@shikijs/transformers": "^1.1.3", + "@total-typescript/ts-reset": "^0.5.1", "@types/eslint": "^8.56.3", "@types/eslint__js": "^8.42.3", "@types/js-yaml": "^4.0.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a4a340214..4eade1e32 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -70,6 +70,9 @@ dependencies: '@shikijs/transformers': specifier: ^1.1.3 version: 1.1.3 + '@total-typescript/ts-reset': + specifier: ^0.5.1 + version: 0.5.1 '@types/eslint': specifier: ^8.56.3 version: 8.56.3 @@ -1995,6 +1998,10 @@ packages: string.prototype.codepointat: 0.2.1 dev: false + /@total-typescript/ts-reset@0.5.1: + resolution: {integrity: sha512-AqlrT8YA1o7Ff5wPfMOL0pvL+1X+sw60NN6CcOCqs658emD6RfiXhF7Gu9QcfKBH7ELY2nInLhKSCWVoNL70MQ==} + dev: false + /@types/acorn@4.0.6: resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==} dependencies: diff --git a/src/env.d.ts b/src/env.d.ts index 6811d7c28..54e7b9171 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1,3 +1,5 @@ // eslint-disable-next-line @typescript-eslint/triple-slash-reference /// /// + +import "@total-typescript/ts-reset/filter-boolean";