Added an optional member for plugins

Just set to Array<any> for now until I have a better understanding of
all the possibilities for plugins.
This commit is contained in:
Matt Gibbs
2016-01-19 15:42:43 -05:00
parent f9b189a873
commit e58251a8d3
+2
View File
@@ -100,6 +100,8 @@ declare module Chartist {
supportsAnimations: boolean;
resizeListener: any;
plugins?: Array<any>; // all of these plugins seem to be functions with options, but keeping type any for now
update(data: Object, options?: T, override?: boolean): void;
detatch(): void;