Closed Renegade334 closed 3 weeks ago
Thanks for the PR!
This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged.
Maybe the extra field can have a lambda function type to make it simpler while keeping dictionary?
Maybe the extra field can have a lambda function type to make it simpler while keeping dictionary?
Considered this, but this approach leads to interface merging conflicts in places like @types/node
. As a result, it really needs to be defined as a method rather than a property.
Oh no, but ImportMeta is not an interface at all. 😞
Can you at least add some comment why it should be an interface?
The only alternative I can see is the deliciously hacky e341817...
I guess interface is fine compared to that 😂
(But please add some comment in addedTypes)
ref https://github.com/microsoft/TypeScript/pull/23327 where the "interface" was added to be mergeable.
Thanks! LGTM
Merging because @saschanaz is a code-owner of all the changes - thanks!
Specification: HTML Standard 8.1.6.5.1 Reference: MDN Reference: microsoft/TypeScript#58828
Converting
ImportMeta
to an interface seems fairly unavoidable, but I don't think it should break anything.