diff --git a/packages/-ember-data/addon/-private/core.ts b/packages/-ember-data/addon/-private/core.ts index 38c3cddd01b..9089738acaa 100644 --- a/packages/-ember-data/addon/-private/core.ts +++ b/packages/-ember-data/addon/-private/core.ts @@ -8,8 +8,9 @@ export interface DS extends Namespace { name: string; } -export const DS = Namespace.create({ - // @ts-expect-error ember-source types are wrong +type CreateArgs = { VERSION: string; name: string }; + +export const DS = (Namespace as unknown as { create(args: CreateArgs): DS }).create({ VERSION: VERSION, name: 'DS', });