mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Adding union type for offset (#11689)
This commit is contained in:
parent
d88cfbff9d
commit
e581a26a5f
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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user