Skip to content

Commit 539ed04

Browse files
committed
Remove obsolete globalThis
1 parent b8273cf commit 539ed04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export namespace PHPTypes {
9898
export class PHPReference extends makeRegExpClass( /^[Rr]:([^;]+);/, input => parseInt( input ) ) { }
9999

100100
export type PHPBooleanIdentifier = 'b';
101-
export class PHPBoolean extends makeRegExpClass( /^b:([01]);/, input => globalThis.Boolean( parseInt( input ) ) ) { }
101+
export class PHPBoolean extends makeRegExpClass( /^b:([01]);/, input => Boolean( parseInt( input ) ) ) { }
102102

103103
export type PHPFloatIdentifier = 'd';
104104
export class PHPFloat extends makeRegExpClass( /^d:([^;]+);/, input => parseFloat( input.replace( 'INF', 'Infinity' ) ) ) { }

0 commit comments

Comments
 (0)