Emit only instance members from global polluters - #1910
Conversation
|
Thanks for the PR! This section of the codebase is owned by Kagami Sascha Rosylight (@saschanaz) - if they write a comment saying "LGTM" then it will be merged. |
|
I tried looking in |
There was a problem hiding this comment.
It's special cased here:
TypeScript-DOM-lib-generator/src/build/emitter.ts
Lines 803 to 810 in be2cad9
Changing that should fix the failure.
(But Gecko has static member in global interfaces? 🤔🤔🤔 / Edit: Oh, isInstance, yeah.)
3b45457 to
7ad6ef7
Compare
86dbd14 to
3b74c41
Compare
Thanks, I had a feeling I was looking in the wrong places. |
|
LGTM, thanks! |
|
Merging because Kagami Sascha Rosylight (@saschanaz) is a code-owner of all the changes - thanks! |
I believe this is correct, static members from global polluters shouldn't show up as globals.