diff --git a/package-lock.json b/package-lock.json index ac5fd69..d1a77d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "jest": "^30.1.3", "prettier": "3.8.3", "ts-jest": "^29.1.4", - "typescript": "~5.9.2", + "typescript": "~6.0.3", "typescript-eslint": "^8.58.0" }, "engines": { @@ -6403,9 +6403,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 725b029..0544f52 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "jest": "^30.1.3", "prettier": "3.8.3", "ts-jest": "^29.1.4", - "typescript": "~5.9.2", + "typescript": "~6.0.3", "typescript-eslint": "^8.58.0" }, "homepage": "https://github.com/Azure/openapi-diff", diff --git a/tsconfig.json b/tsconfig.json index 12e1c91..25699c1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -42,7 +42,7 @@ // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ - // "types": [], /* Type declaration files to be included in compilation. */ + "types": ["jest", "node"], /* required by typescript v6 */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */