File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1958,7 +1958,7 @@ if (ENV.EXTEND_PROTOTYPES.Array) {
1958
1958
1959
1959
if ( isEmberArray ( arr ) ) {
1960
1960
// SAFETY: If it's a true native array and it is also an EmberArray then it should be an Ember NativeArray
1961
- return arr as NativeArray < T > ;
1961
+ return arr as unknown as NativeArray < T > ;
1962
1962
} else {
1963
1963
// SAFETY: This will return an NativeArray but TS can't infer that.
1964
1964
return NativeArray . apply ( arr ?? [ ] ) as NativeArray < T > ;
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ class CoreObject {
261
261
262
262
/* globals Proxy Reflect */
263
263
self = new Proxy ( this , {
264
- get ( target : CoreObject & HasUnknownProperty , property , receiver ) {
264
+ get ( target : typeof this & HasUnknownProperty , property , receiver ) {
265
265
if ( property === PROXY_CONTENT ) {
266
266
return target ;
267
267
} else if (
You can’t perform that action at this time.
0 commit comments