tsc
This commit is contained in:
@@ -352,7 +352,7 @@ export default class Document extends ParanoidModel {
|
||||
|
||||
@action
|
||||
save = async (
|
||||
fields: Partial<Document> | undefined,
|
||||
fields?: Partial<Document> | undefined,
|
||||
options?: SaveOptions | undefined
|
||||
) => {
|
||||
const params = fields ?? this.toAPI();
|
||||
|
||||
Reference in New Issue
Block a user