mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Multiple bool => boolean fixes
This commit is contained in:
@@ -78,7 +78,7 @@ function runTests() {
|
||||
}
|
||||
}
|
||||
|
||||
function falsy(condition: () => bool, action: () => any) {
|
||||
function falsy(condition: () => boolean, action: () => any) {
|
||||
if (condition() === false)
|
||||
action();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user