mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 13:27:15 +08:00
Add charts namespace and functions (#10169)
* Add charts namespace and functions * Fix missing function return implicit any
This commit is contained in:
committed by
Mohamed Hegazy
parent
5b816099c3
commit
08b7b58fa3
@@ -9,6 +9,12 @@ declare namespace google {
|
||||
function setOnLoadCallback(handler: Function): void;
|
||||
function setOnLoadCallback(handler: () => void): void;
|
||||
|
||||
// https://developers.google.com/chart/interactive/docs/basic_load_libs
|
||||
namespace charts {
|
||||
function load(version: string, packages: Object): void;
|
||||
function setOnLoadCallback(handler: Function): void;
|
||||
}
|
||||
|
||||
//https://developers.google.com/chart/interactive/docs/reference
|
||||
namespace visualization {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user