Add chainable definitions for _(...).keys

This commit is contained in:
Brian Zengel committed 2014-06-03 13:23:28 -04:00
1 parent 5968a6823b
commit 1def2150e2
2 files changed
+8

No files matched your search

+1
View File
@@ -909,6 +909,7 @@ result = <boolean>_.isString('moe');
result = <boolean>_.isUndefined(void 0);
result = <string[]>_.keys({ 'one': 1, 'two': 2, 'three': 3 });
result = <string[]>_({ 'one': 1, 'two': 2, 'three': 3 }).keys().value();
var mergeNames = {
'stooges': [
+7
View File
@@ -5637,6 +5637,13 @@ declare module _ {
keys(object: any): string[];
}
interface LoDashObjectWrapper<T> {
/**
* @see _.keys
**/
keys(): LoDashArrayWrapper<string>
}
//_.mapValues
interface LoDashStatic {
/**