diff --git a/types/lodash/index.d.ts b/types/lodash/index.d.ts index edb75b105d..f1685af04f 100644 --- a/types/lodash/index.d.ts +++ b/types/lodash/index.d.ts @@ -16604,7 +16604,7 @@ declare namespace _ { type ValueKeyIteratee = ((value: T, key: string) => any) | string | [string, any] | PartialDeep; type Comparator = (a: T, b: T) => boolean; - type PropertyName = string | number; + type PropertyName = string | number | symbol; type PropertyPath = Many; /** Common interface between Arrays and jQuery objects */ diff --git a/types/lodash/lodash-tests.ts b/types/lodash/lodash-tests.ts index b030f48c31..c7fb313dec 100644 --- a/types/lodash/lodash-tests.ts +++ b/types/lodash/lodash-tests.ts @@ -10620,6 +10620,9 @@ namespace TestFunctionsIn { // _.get namespace TestGet { + _.get([], Symbol.iterator); + _.get([], [Symbol.iterator]); + { let result: string;