Skip to content

Commit 6a43e8e

Browse files
committed
fix(RecordType): use exact object flow type
1 parent a254f95 commit 6a43e8e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/types/RecordType.js.flow

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
import Type from './Type'
44

5-
declare class RecordType<K: string | number | symbol, V> extends Type<{
5+
declare class RecordType<K: string | number | symbol, V> extends Type<{|
66
[K]: V,
7-
...
8-
}> {
7+
|}> {
98
key: Type<K>;
109
value: Type<V>;
1110

0 commit comments

Comments
 (0)