Adding union type for offset (#11689)

This commit is contained in:
Tyler 2016-10-03 14:46:59 -05:00 committed by Mohamed Hegazy
parent d88cfbff9d
commit e581a26a5f

View File

@ -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;
}
}