mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
commit
7de6c3dd94
1140 files changed
+179704
-179635
No files matched your search
+3
-3
@@ -3,14 +3,14 @@
|
||||
// Definitions by: Dan Ludwig <https://github.com/danludwig>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module google {
|
||||
declare namespace google {
|
||||
|
||||
function load(visualization: string, version: string, packages: any): void;
|
||||
function setOnLoadCallback(handler: Function): void;
|
||||
function setOnLoadCallback(handler: () => void): void;
|
||||
|
||||
//https://developers.google.com/chart/interactive/docs/reference
|
||||
module visualization {
|
||||
namespace visualization {
|
||||
|
||||
export interface ChartSpecs {
|
||||
chartType: string;
|
||||
@@ -1111,7 +1111,7 @@ declare module google {
|
||||
//#endregion
|
||||
//#region Events
|
||||
|
||||
module events {
|
||||
namespace events {
|
||||
function addListener(visualization: any, eventName: string, callback: Function): any;
|
||||
function addListener(visualization: any, eventName: string, callback: (...args: any[]) => void): any;
|
||||
function removeListener(listener: any): void;
|
||||
|
||||
Reference in new issue
Block a user