We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ff400e commit 8fb116bCopy full SHA for 8fb116b
src/utils/valueUtil.ts
@@ -10,7 +10,7 @@ import { toArray } from './typeUtil';
10
* 123 => [123]
11
* ['a', 123] => ['a', 123]
12
*/
13
-export function getNamePath(path: NamePath | null): (string | number)[] {
+export function getNamePath(path: NamePath | null): InternalNamePath {
14
return toArray(path);
15
}
16
0 commit comments