diff --git a/package-lock.json b/package-lock.json index fb45ad3..f6e23cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "postcss": "^8.5.24", "prettier": "^3.9.6", "tailwindcss": "^4.1.8", - "typescript": "^5.8.3", + "typescript": "^6.0.3", "vitest": "^4.1.10" }, "engines": { @@ -1681,9 +1681,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1700,9 +1697,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1719,9 +1713,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1738,9 +1729,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2413,9 +2401,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2433,9 +2418,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2453,9 +2435,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2473,9 +2452,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -11194,9 +11170,9 @@ } }, "node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index d234fd9..bae73bc 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "postcss": "^8.5.24", "prettier": "^3.9.6", "tailwindcss": "^4.1.8", - "typescript": "^5.8.3", + "typescript": "^6.0.3", "vitest": "^4.1.10" } } diff --git a/src/css.d.ts b/src/css.d.ts new file mode 100644 index 0000000..6bb0231 --- /dev/null +++ b/src/css.d.ts @@ -0,0 +1,2 @@ +// TS6 (TS2882) requires declarations for side-effect CSS imports +declare module '*.css';