diff --git a/modules/openapi-generator/src/main/resources/typescript-axios/tsconfig.mustache b/modules/openapi-generator/src/main/resources/typescript-axios/tsconfig.mustache index bf5018dba8b6..c17ae7c76759 100644 --- a/modules/openapi-generator/src/main/resources/typescript-axios/tsconfig.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-axios/tsconfig.mustache @@ -6,6 +6,9 @@ "noImplicitAny": true, "outDir": "dist", "rootDir": ".", + {{#supportsES6}} + "moduleResolution": "node", + {{/supportsES6}} {{^supportsES6}} "lib": [ "es6",