From e581a26a5fea97ea46aa3124bc1455fc7e59f783 Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 3 Oct 2016 14:46:59 -0500 Subject: [PATCH] Adding union type for offset (#11689) --- bootstrap-notify/bootstrap-notify.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bootstrap-notify/bootstrap-notify.d.ts b/bootstrap-notify/bootstrap-notify.d.ts index acdb83b9fd..77d249694e 100644 --- a/bootstrap-notify/bootstrap-notify.d.ts +++ b/bootstrap-notify/bootstrap-notify.d.ts @@ -36,7 +36,10 @@ interface NotifySettings { from?: string; align?: string; }; - offset?: number; + offset?: number | { + x?: number; + y?: number; + }; spacing?: number; z_index?: number; delay?: number; @@ -59,4 +62,4 @@ interface NotifyReturn { $ele: JQueryStatic; close: () => void; update: (command: string, update: any) => void; -} \ No newline at end of file +}