Add type parameters to polymer Base::fire and set (#18756)

* Add type parameters to polymer Base::fire and set

* Bump version in header

* Remove type annotation from fire
This commit is contained in:
Derek Brans
2017-08-14 15:43:13 -07:00
committed by Mohamed Hegazy
parent b969735248
commit 1683e0023e
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for polymer v1.1.6
// Type definitions for polymer v1.2.6
// Project: https://github.com/Polymer/polymer
// Definitions by: Louis Grignon <https://github.com/lgrignon>, Suguru Inatomi <https://github.com/laco0416>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -120,7 +120,7 @@ declare global {
notifyPath?(path: string, value: any, fromAbove: any): void;
set?(path: string|(string|number)[], value: any, root?: Object): void;
set?<Value>(path: string|(string|number)[], value: Value, root?: Object): void;
get?(path: string|(string|number)[], root?: Object): any;