Skip to content

Commit 0f0f3c7

Browse files
Copilotmikeharder
andauthored
Add types field to tsconfig.json to fix TS2593 errors with TypeScript 6.0.3
Agent-Logs-Url: https://github.com/Azure/openapi-diff/sessions/885288ee-b516-455a-8983-b34d04453248 Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>
1 parent 9d44163 commit 0f0f3c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
4343
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
4444
// "typeRoots": [], /* List of folders to include type definitions from. */
45-
// "types": [], /* Type declaration files to be included in compilation. */
45+
"types": ["jest", "node"], /* Type declaration files to be included in compilation. */
4646
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
4747
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
4848
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */

0 commit comments

Comments
 (0)