espruino / Espruino

The Espruino JavaScript interpreter - Official Repo
http://www.espruino.com/
Other
2.73k stars 741 forks source link

typescript: disable generation typings for globalThis #2497

Closed bobrippling closed 2 months ago

bobrippling commented 2 months ago

As it's already builtin to typescript:

types/main.d.ts:12547:15 - error TS2397: Declaration name conflicts with built-in global identifier 'globalThis'.

12547 declare const globalThis: any;
                    ~~~~~~~~~~