Skip to content

Commit

Permalink
ref Object from globalThis
Browse files Browse the repository at this point in the history
  • Loading branch information
lesomnus committed Nov 28, 2023
1 parent 6cdc5cb commit 67042c0
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,13 @@ export class InternalBinaryWrite implements CustomMethodGenerator {
undefined,
ts.createVariableDeclarationList([ts.createVariableDeclaration(ts.createIdentifier("k"), undefined, undefined)], ts.NodeFlags.Let),
ts.createCall(
ts.createPropertyAccess(ts.createIdentifier("Object"), ts.createIdentifier("keys")),
ts.createPropertyAccess(
ts.createPropertyAccess(
ts.createIdentifier("globalThis"),
ts.createIdentifier("Object")
),
ts.createIdentifier("keys")
),
undefined,
[fieldPropertyAccess]
),
Expand Down

0 comments on commit 67042c0

Please sign in to comment.