mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 14:45:56 +08:00
fixed flow-type error
This commit is contained in:
parent
249d3d7698
commit
3b1cb51be9
2
flow-typed/types.js
vendored
2
flow-typed/types.js
vendored
|
@ -31,7 +31,7 @@ export type ValidationError = ValidationErrorSimple | ValidationErrorIntl;
|
|||
export type ValidationErrors = string | Array<string> | Array<ValidationError>;
|
||||
|
||||
export type Activity = {
|
||||
id: number,
|
||||
id?: number,
|
||||
message: string,
|
||||
created_at: string
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue