From 53147ce8f477feb6cbe31f23e60957cbf91cfb8e Mon Sep 17 00:00:00 2001 From: Drew Diamantoukos Date: Fri, 29 Jun 2018 10:29:57 -0400 Subject: [PATCH] Added 'null' to possible Datum type --- types/plotly.js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index 854960025d..39ecb64d37 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -355,7 +355,7 @@ export interface ModeBarButton { // Data -export type Datum = string | number | Date; +export type Datum = string | number | Date | null; export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array; export type Dash = 'solid' | 'dot' | 'dash' | 'longdash' | 'dashdot' | 'longdashdot';