diff --git a/types/ember-data/tsconfig.json b/types/ember-data/tsconfig.json index 9bdb160a16..9dc3623d26 100644 --- a/types/ember-data/tsconfig.json +++ b/types/ember-data/tsconfig.json @@ -16,6 +16,8 @@ "paths": { "@ember/debug": ["ember__debug"], "@ember/debug/*": ["ember__debug/*"], + "@ember/array": ["ember__array"], + "@ember/array/*": ["ember__array/*"], "@ember/object": ["ember__object"], "@ember/object/*": ["ember__object/*"] }, diff --git a/types/ember/index.d.ts b/types/ember/index.d.ts index 01af7011b1..d9d291a948 100755 --- a/types/ember/index.d.ts +++ b/types/ember/index.d.ts @@ -279,6 +279,12 @@ declare module 'ember' { class ArrayProxy extends EmberArrayProxy {} export type Array = EmberArray; export const Array: typeof EmberArrayNs.default; + export type MutableArray = EmberMutableArray; + export const MutableArray: typeof EmberMutableArray; + export type NativeArray = EmberNativeArray; + export const NativeArray: typeof EmberNativeArray; + export type MutableEnumerable = EmberMutableEnumerable; + export const MutableEnumerable: typeof EmberMutableEnumerable; interface FunctionPrototypeExtensions { /** * The `property` extension of Javascript's Function prototype is available @@ -779,12 +785,6 @@ declare module 'ember' { static create(): MapWithDefault; } class Mixin extends EmberMixin {} - export type MutableArray = EmberMutableArray; - export const MutableArray: typeof EmberMutableArray; - export type NativeArray = EmberNativeArray; - export const NativeArray: typeof EmberNativeArray; - export type MutableEnumerable = EmberMutableEnumerable; - export const MutableEnumerable: typeof EmberMutableEnumerable; /** * A Namespace is an object usually used to contain other objects or methods