From 6e0538e4b4c11b8b18a174e47948f6d9f862cd74 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:47:25 -0500 Subject: [PATCH] Override ember-cli's tsconfig.json see: https://github.com/ember-cli/ember-cli/issues/10611 and https://github.com/ember-cli/ember-cli/pull/10613 and https://github.com/ember-cli/ember-cli/pull/10612 --- files/test-app-overrides/tsconfig.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 files/test-app-overrides/tsconfig.json diff --git a/files/test-app-overrides/tsconfig.json b/files/test-app-overrides/tsconfig.json new file mode 100644 index 0000000..43ffc6d --- /dev/null +++ b/files/test-app-overrides/tsconfig.json @@ -0,0 +1,25 @@ +{ + "extends": "@tsconfig/ember/tsconfig.json", + "glint": { + "environment": ["ember-loose", "ember-template-imports"] + }, + "compilerOptions": { + "skipLibCheck": true, + "noEmit": true, + "noEmitOnError": false, + "declaration": false, + "declarationMap": false, + // The combination of `baseUrl` with `paths` allows Ember's classic package + // layout, which is not resolvable with the Node resolution algorithm, to + // work with TypeScript. + "baseUrl": ".", + "paths": { + "<%= testAppInfo.packageName %>/tests/*": ["tests/*"], + "<%= testAppInfo.packageName %>/*": ["app/*"], + "*": ["types/*"] + }, + "types": [ + "ember-source/types", + ] + } +}