Skip to content

Commit

Permalink
Merge pull request #20811 from emberjs/fix-ts-nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
kategengler authored Dec 20, 2024
2 parents ac6693e + d8bed39 commit 5a34827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ember/-internals/environment/lib/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
declare const mainContext: object | undefined;

// from lodash to catch fake globals
function checkGlobal(value: any | null | undefined): value is object {
function checkGlobal(value: any | null | undefined): object | undefined {
return value && value.Object === Object ? value : undefined;
}

Expand Down

0 comments on commit 5a34827

Please sign in to comment.