mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Resolve whenDefined
with the class constructor
This commit is contained in:
parent
03fb9c5d6e
commit
312479f816
3 changed files with 20 additions and 22 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue