Fix wrong type in blessed (screen.ignoreLocked) (#41397)

This commit is contained in:
danikaze
2020-01-07 08:36:04 +09:00
committed by Armando Aguirre
parent be4fad3d81
commit 6053e951b2

View File

@@ -4,6 +4,7 @@
// Steve Kellock <https://github.com/skellock>
// Max Brauer <https://github.com/mamachanko>
// Nathan Rajlich <https://github.com/TooTallNate>
// Daniel Berlanga <https://github.com/danikaze>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
// TypeScript Version: 2.1
@@ -946,7 +947,7 @@ export namespace Widgets {
* Array of keys in their full format (e.g. C-c) to ignore when keys are locked or grabbed. Useful
* for creating a key that will always exit no matter whether the keys are locked.
*/
ignoreLocked?: boolean;
ignoreLocked?: string[];
/**
* Automatically "dock" borders with other elements instead of overlapping, depending on position