Update to Immer 9 for better type inference
Summary: Per title Reviewed By: passy Differential Revision: D27202660 fbshipit-source-id: 074c44275a93c3fb35d2f491b51d82aa9792dd70
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8f90deda55
commit
ea0cc7f15b
@@ -87,7 +87,7 @@ type OutputChange =
|
||||
};
|
||||
|
||||
export class DataSource<
|
||||
T,
|
||||
T = any,
|
||||
KEY extends keyof T = any,
|
||||
KEY_TYPE extends string | number | never = ExtractKeyType<T, KEY>
|
||||
> implements Persistable {
|
||||
|
||||
Reference in New Issue
Block a user