diff --git a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.json b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.json index 344909de212..e202245735f 100644 --- a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.json +++ b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "@tsconfig/node14/tsconfig.json", "compilerOptions": { + "lib": ["es2020", "dom"], "downlevelIteration": true, "importHelpers": true, "incremental": true, @@ -9,5 +10,5 @@ "rootDir": "src", "useUnknownInCatchVariables": false }, - "exclude": ["test/"] + "exclude": ["node_modules/", "test/"] } diff --git a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.types.json b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.types.json index 4c3dfa7b3d2..33fc3b6c744 100644 --- a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.types.json +++ b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.types.json @@ -6,5 +6,5 @@ "declarationDir": "dist-types", "emitDeclarationOnly": true }, - "exclude": ["test/**/*", "dist-types/**/*"] + "exclude": ["node_modules/", "test/**/*", "dist-types/**/*"] }