From fd5fd9a23bac3e7a6b000c7413df937e8d40be48 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 22 May 2018 17:31:29 -0500 Subject: [PATCH] Update index.d.ts Per documentation at [1] array of data might be numbers or Date objects. [1] http://dygraphs.com/data.html#array --- types/dygraphs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/dygraphs/index.d.ts b/types/dygraphs/index.d.ts index 6e45d5ccd7..4a4a9f0492 100644 --- a/types/dygraphs/index.d.ts +++ b/types/dygraphs/index.d.ts @@ -6,7 +6,7 @@ /// declare namespace dygraphs { - type DataArray = number[][]; + type DataArray = (number|Date)[][]; type Data = string | DataArray | google.visualization.DataTable;