mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fix webcomponents.js.d.ts and test
This commit is contained in:
parent
66e0f48463
commit
4a3cfb0f70
@ -15,6 +15,8 @@ var XFoo = document.registerElement("x-foo", {
|
||||
});
|
||||
|
||||
var xFoo = new XFoo();
|
||||
xFoo.textContent = "";
|
||||
document.body.appendChild(xFoo);
|
||||
|
||||
window.CustomElements.hasNative;
|
||||
window.CustomElements.flags;
|
||||
|
||||
2
webcomponents.js/webcomponents.js.d.ts
vendored
2
webcomponents.js/webcomponents.js.d.ts
vendored
@ -11,7 +11,7 @@ declare module webcomponents {
|
||||
}
|
||||
|
||||
export interface CustomElementConstructor {
|
||||
new():HTMLElement;
|
||||
new(): HTMLElement;
|
||||
}
|
||||
|
||||
export interface CustomElementsPolyfill {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user