Skip to content

Commit 0678c2d

Browse files
authored
Merge pull request #19938 from wagenet/upgrade-b-ts-c
Upgrade broccoli-typescript-compiler
2 parents 41414e8 + 18900ec commit 0678c2d

3 files changed

Lines changed: 58 additions & 783 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
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",

packages/@ember/-internals/container/lib/container.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ import { assert } from '@ember/debug';
44
import { DEBUG } from '@glimmer/env';
55
import Registry, { DebugRegistry } from './registry';
66

7-
declare global {
8-
export function gc(): void;
9-
}
10-
117
interface 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
},

0 commit comments

Comments
 (0)