diff --git a/types/google.visualization/google.visualization-tests.ts b/types/google.visualization/google.visualization-tests.ts index d47c10efba..e9067770f9 100644 --- a/types/google.visualization/google.visualization-tests.ts +++ b/types/google.visualization/google.visualization-tests.ts @@ -363,6 +363,7 @@ function test_formatter_ArrowFormat() { ['Electronics', { v: -2.1, f: '-2.1%' }], ['Food', { v: 22, f: '22.0%' }] ]); + data.setFormattedValue(2, 1, null); var table = new google.visualization.Table(document.getElementById('arrowformat_div')); diff --git a/types/google.visualization/index.d.ts b/types/google.visualization/index.d.ts index 6f36ff881a..2d679583d7 100644 --- a/types/google.visualization/index.d.ts +++ b/types/google.visualization/index.d.ts @@ -118,7 +118,7 @@ declare namespace google { setColumnLabel(columnIndex: number, label: string): void; setColumnProperty(columnIndex: number, name: string, value: any): void; setColumnProperties(columnIndex: number, properties: Properties): void; - setFormattedValue(rowIndex: number, columnIndex: number, formattedValue: string): void; + setFormattedValue(rowIndex: number, columnIndex: number, formattedValue: string | null): void; setProperty(rowIndex: number, columnIndex: number, name: string, value: any): void; setProperties(rowIndex: number, columnIndex: number, properties: Properties): void; setRowProperty(rowIndex: number, name: string, value: any): void;