diff --git a/types/polymer/index.d.ts b/types/polymer/index.d.ts index 36a9abcce9..17217edd0c 100644 --- a/types/polymer/index.d.ts +++ b/types/polymer/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/Polymer/polymer // Definitions by: Louis Grignon , Suguru Inatomi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 3.1 import { CustomElementConstructor } from "webcomponents.js"; @@ -195,7 +196,7 @@ declare global { detachedCallback?():void; - attributeChangedCallback?(name: string):void; + attributeChangedCallback?(attributeName: string, oldValue: string|null, newValue: string|null, namespace: string|null): void; extend?(prototype: Object, api: Object):Object; diff --git a/types/webcomponents.js/index.d.ts b/types/webcomponents.js/index.d.ts index 50ad3bb9c1..ded2a2ffda 100644 --- a/types/webcomponents.js/index.d.ts +++ b/types/webcomponents.js/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/webcomponents/webcomponentsjs, http://webcomponents.org // Definitions by: Adi Dahiya // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 3.1 export interface CustomElementInit { prototype: HTMLElement;