mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Update bootbox.d.ts for vs 2015
vs 2015 & typescript 1.8 has error for "onEscape?: (() => any) | boolean" when I set boolean value, so I added brackets.
This commit is contained in:
2
bootbox/bootbox.d.ts
vendored
2
bootbox/bootbox.d.ts
vendored
@@ -9,7 +9,7 @@
|
||||
interface BootboxBaseOptions {
|
||||
title?: string | Element;
|
||||
callback?: (result: boolean | string) => any;
|
||||
onEscape?: () => any | boolean;
|
||||
onEscape?: (() => any) | boolean;
|
||||
show?: boolean;
|
||||
backdrop?: boolean;
|
||||
closeButton?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user