From 92b10b5e61a6ffe85f0e17fd3953074b15782031 Mon Sep 17 00:00:00 2001 From: Igor Klepacki Date: Thu, 23 Jan 2025 14:43:14 +0100 Subject: [PATCH] chore: integrate typed-query-selector for better types --- package.json | 1 + pnpm-lock.yaml | 8 ++++++++ reset.d.ts | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d6e26e2..36154c6 100644 --- a/package.json +++ b/package.json @@ -108,6 +108,7 @@ "tailwindcss": "^3.4.1", "ts-jest": "^29.1.1", "tsc": "^2.0.4", + "typed-query-selector": "^2.12.0", "typescript": "^5", "typescript-eslint": "^8.21.0", "webpack": "5.89.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f501d20..8d0c835 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -261,6 +261,9 @@ importers: tsc: specifier: ^2.0.4 version: 2.0.4 + typed-query-selector: + specifier: ^2.12.0 + version: 2.12.0 typescript: specifier: ^5 version: 5.4.5 @@ -8391,6 +8394,9 @@ packages: resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==} engines: {node: '>= 0.4'} + typed-query-selector@2.12.0: + resolution: {integrity: sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==} + typedarray-to-buffer@3.1.5: resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} @@ -18692,6 +18698,8 @@ snapshots: possible-typed-array-names: 1.0.0 reflect.getprototypeof: 1.0.10 + typed-query-selector@2.12.0: {} + typedarray-to-buffer@3.1.5: dependencies: is-typedarray: 1.0.0 diff --git a/reset.d.ts b/reset.d.ts index 0b49d7c..4988772 100644 --- a/reset.d.ts +++ b/reset.d.ts @@ -1,2 +1,2 @@ -// Do not add any other lines of code to this file! import "@total-typescript/ts-reset" +import "typed-query-selector/strict"