mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-16 18:44:33 +00:00
Adding union type for offset (#11689)
This commit is contained in:
7
bootstrap-notify/bootstrap-notify.d.ts
vendored
7
bootstrap-notify/bootstrap-notify.d.ts
vendored
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user