mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-30 12:50:40 +08:00
Multiple bool => boolean fixes
This commit is contained in:
1 parent
38888208fb
commit
f677cca98d
36 files changed
+183
-185
No files matched your search
@@ -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