Resolve whenDefined with the class constructor

This commit is contained in:
CYBAI 2020-09-10 22:48:33 +09:00
parent 03fb9c5d6e
commit 312479f816
3 changed files with 20 additions and 22 deletions

View file

@ -10,7 +10,7 @@ interface CustomElementRegistry {
any get(DOMString name);
Promise<void> whenDefined(DOMString name);
Promise<CustomElementConstructor> whenDefined(DOMString name);
[CEReactions] void upgrade(Node root);
};