Skip to content

Commit

Permalink
feat (new app-boot): fix the typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueCutOfficial committed Jun 26, 2024
1 parent 1c787ef commit 1552c7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/ts-app-template/app/app.ts
Original file line number Diff line number Diff line change
@@ -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)) {
Expand Down
6 changes: 6 additions & 0 deletions tests/ts-app-template/types/global.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
import '@glint/environment-ember-loose';

declare global {
interface Window {
define: any;
}
}

0 comments on commit 1552c7a

Please sign in to comment.