10000
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 289ccf6 commit b25fb07Copy full SHA for b25fb07
dist/immutable.js.flow
@@ -1401,7 +1401,7 @@ declare class Record {
1401
static getDescriptiveName(record: RecordInstance<any>): string;
1402
}
1403
1404
-declare class RecordInstance<T: Object> {
+declare class RecordInstance<T: Object = Object> {
1405
static (values?: Iterable<[$Keys<T>, $ValOf<T>]> | $Shape<T>): RecordOf<T>;
1406
// Note: a constructor can only create an instance of RecordInstance<T>,
1407
// it's encouraged to not use `new` when creating Records.
0 commit comments