diff --git a/files-override/ts/app/app.ts b/files-override/ts/app/app.ts index 64d032f..dc1bb7c 100644 --- a/files-override/ts/app/app.ts +++ b/files-override/ts/app/app.ts @@ -1,6 +1,5 @@ import Application from '@ember/application'; -// @ts-expect-error - TODO: add types to compatModules -import compatModules from '@embroider/core/entrypoint'; +import compatModules from '@embroider/virtual/entrypoint'; import Resolver from 'ember-resolver'; import loadInitializers from 'ember-load-initializers'; import config from './config/environment'; @@ -8,11 +7,7 @@ import config from './config/environment'; export default class App extends Application { modulePrefix = config.modulePrefix; podModulePrefix = config.podModulePrefix; - // TODO: remove lint disable when we have types for compatModules - // eslint-disable-next-line @typescript-eslint/no-unsafe-argument Resolver = Resolver.withModules(compatModules); } -// TODO: remove lint disable when we have types for compatModules -// eslint-disable-next-line @typescript-eslint/no-unsafe-argument loadInitializers(App, config.modulePrefix, compatModules);