Skip to content

Commit e182cb1

Browse files
authored
More precise get type with not setValue
1 parent 387b83a commit e182cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/Map.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ Returns the value associated with the provided key.
735735

736736
<Signature
737737
code={`get(key: K): V | undefined
738-
get(key: K, notSetValue?): any`}
738+
get(key: K, notSetValue: NSV): V | NSV`}
739739
/>
740740

741741
<Repl defaultValue={`Map({ a: 1, b: 2, c: 3 }).get('b');`} />

0 commit comments

Comments
 (0)