diff --git a/index.d.ts b/index.d.ts index af89dbec..f8a6808e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,6 +1,5 @@ import DialogManager from './addon/services/dialog-manager'; import Notifications from './addon/services/notifications'; -import Ember from 'ember'; declare module '@ember/service' { export interface Registry { @@ -10,7 +9,3 @@ declare module '@ember/service' { 'carbon.notifications': Notifications; } } - -declare global { - interface Array extends Ember.ArrayPrototypeExtensions {} -} diff --git a/types/globals.d.ts b/types/globals.d.ts index 4095deb7..6261f88b 100644 --- a/types/globals.d.ts +++ b/types/globals.d.ts @@ -23,6 +23,10 @@ type Either = Only | Only declare module '*.scss'; +declare module 'ember-template-imports' { + const hbs: any; + export { hbs }; +} declare global { // Prevents ESLint from "fixing" this via its auto-fix to turn it into a type