diff --git a/tests/ts-app-template/app/app.ts b/tests/ts-app-template/app/app.ts index df50bd33b..dc71d8aac 100644 --- a/tests/ts-app-template/app/app.ts +++ b/tests/ts-app-template/app/app.ts @@ -1,11 +1,9 @@ import Application from '@ember/application'; -// @ts-ignore import compatModules from '@embroider/core/entrypoint'; import Resolver from 'ember-resolver'; import loadInitializers from 'ember-load-initializers'; import config from 'ts-app-template/config/environment'; -// @ts-ignore let d = window.define; for (const [name, module] of Object.entries(compatModules)) { diff --git a/tests/ts-app-template/types/global.d.ts b/tests/ts-app-template/types/global.d.ts index 2c531e29a..84a68b049 100644 --- a/tests/ts-app-template/types/global.d.ts +++ b/tests/ts-app-template/types/global.d.ts @@ -1 +1,7 @@ import '@glint/environment-ember-loose'; + +declare global { + interface Window { + define: any; + } +}