Skip to content

Commit

Permalink
Fix deprecate calls to use full API
Browse files Browse the repository at this point in the history
The previous cast `as any` hid a real type error, as it does!
  • Loading branch information
chriskrycho committed Jul 21, 2022
1 parent 8af3efa commit cc3844b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,9 @@ export default function setupRenderingContext(
for: '@ember/test-helpers',
since: {
enabled: '2.0.0',
available: '2.0.0',
},
} as any // @types/ember is missing since + for
}
);

return render(template);
Expand All @@ -310,8 +311,9 @@ export default function setupRenderingContext(
for: '@ember/test-helpers',
since: {
enabled: '2.0.0',
available: '2.0.0',
},
} as any // @types/ember is missing since + for
}
);

return clearRender();
Expand Down

0 comments on commit cc3844b

Please sign in to comment.