mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
lodash: support ReadonlyArray for specifying property names
Closes #23278
This commit is contained in:
Vendored
+2
-2
@@ -2,7 +2,7 @@ import _ = require("../index");
|
||||
type GlobalPartial<T> = Partial<T>;
|
||||
declare module "../index" {
|
||||
type PartialObject<T> = GlobalPartial<T>;
|
||||
type Many<T> = T | T[];
|
||||
type Many<T> = T | ReadonlyArray<T>;
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a lodash object which wraps value to enable implicit method chain sequences.
|
||||
@@ -252,4 +252,4 @@ declare module "../index" {
|
||||
type LoDashExplicitNillableObjectWrapper<T> = LoDashExplicitWrapper<T | null | undefined>;
|
||||
type LoDashExplicitNumberArrayWrapper = LoDashExplicitWrapper<number[]>;
|
||||
type LoDashExplicitStringWrapper = LoDashExplicitWrapper<string>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user