Skip to content

Commit 22c88a1

Browse files
committed
chore: remove a usage of @ts-expect-error
1 parent ac4ff54 commit 22c88a1

File tree

1 file changed

+3
-2
lines changed
  • packages/-ember-data/addon/-private

1 file changed

+3
-2
lines changed

packages/-ember-data/addon/-private/core.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ export interface DS extends Namespace {
88
name: string;
99
}
1010

11-
export const DS = Namespace.create({
12-
// @ts-expect-error ember-source types are wrong
11+
type CreateArgs = { VERSION: string; name: string };
12+
13+
export const DS = (Namespace as unknown as { create(args: CreateArgs): DS }).create({
1314
VERSION: VERSION,
1415
name: 'DS',
1516
});

0 commit comments

Comments
 (0)