File tree Expand file tree Collapse file tree
packages/@ember/-internals/container/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change 101101 "broccoli-rollup" : " ^2.1.1" ,
102102 "broccoli-source" : " ^3.0.1" ,
103103 "broccoli-string-replace" : " ^0.1.2" ,
104- "broccoli-typescript-compiler" : " ^7 .0.0" ,
104+ "broccoli-typescript-compiler" : " ^8 .0.0" ,
105105 "broccoli-uglify-sourcemap" : " ^4.0.0" ,
106106 "common-tags" : " ^1.8.2" ,
107107 "core-js" : " ^2.6.5" ,
Original file line number Diff line number Diff line change @@ -4,10 +4,6 @@ import { assert } from '@ember/debug';
44import { DEBUG } from '@glimmer/env' ;
55import Registry , { DebugRegistry } from './registry' ;
66
7- declare global {
8- export function gc ( ) : void ;
9- }
10-
117interface LeakTracking {
128 hasContainers ( ) : boolean ;
139 reset ( ) : void ;
@@ -31,6 +27,7 @@ if (DEBUG) {
3127 containers = new WeakSet < Container > ( ) ;
3228 return {
3329 hasContainers ( ) {
30+ // @ts -expect-error We just checked if it is definied
3431 gc ( ) ;
3532 return GetWeakSetValues ( containers ) . length > 0 ;
3633 } ,
You can’t perform that action at this time.
0 commit comments