From 950ec44efb68d56595cb82a0f491fbd1fc1ecf88 Mon Sep 17 00:00:00 2001 From: Georgie Date: Mon, 22 Sep 2014 22:01:28 -0700 Subject: [PATCH] Small fixes --- google.visualization/google.visualization.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/google.visualization/google.visualization.d.ts b/google.visualization/google.visualization.d.ts index 2657d82749..eb2d49469e 100644 --- a/google.visualization/google.visualization.d.ts +++ b/google.visualization/google.visualization.d.ts @@ -14,8 +14,8 @@ declare module google { export interface ChartSpecs { chartType: string; - containerId: string; - oprtions?: Object; + containerId?: string; + options?: Object; dataTable?: Object; dataSourceUrl?: string; query?: string; @@ -75,7 +75,7 @@ declare module google { addRows(rows: DataObjectCell[][]): number; addRows(rows: any[][]): number; clone(): DataTable; - getColumnId(columnIndex: number): String; + getColumnId(columnIndex: number): string; getColumnLabel(columnIndex: number): string; getColumnPattern(columnIndex: number): string; getColumnProperties(columnIndex: number): Properties; @@ -438,15 +438,15 @@ declare module google { groupWidth: any; // number | string } - export interface VisualizationSelectionArray { + export interface SelectedCell { column?: number; row?: number; } class ChartBase { constructor(element: Element); - getSelection(): any[]; - setSelection(selection: any[]): void; + getSelection(): SelectedCell[]; + setSelection(selection: SelectedCell[]): void; clearChart(): void; getImageURI(): string; }