File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public function getTypeName(array $parameter, array $method = []): string
57
57
return "Partial<Preferences> " ;
58
58
case 'document ' :
59
59
if ($ method ['method ' ] === 'post ' ) {
60
- return "Document extends Models.DefaultDocument ? Partial<Models.Document> & Record<string, any> : Partial<Models.Document> & Partial< Omit<Document, keyof Models.Document> > " ;
60
+ return "Document extends Models.DefaultDocument ? Partial<Models.Document> & Record<string, any> : Partial<Models.Document> & Omit<Document, keyof Models.Document> " ;
61
61
}
62
62
if ($ method ['method ' ] === 'patch ' ) {
63
63
return "Document extends Models.DefaultDocument ? Partial<Models.Document> & Record<string, any> : Partial<Models.Document> & Partial<Omit<Document, keyof Models.Document>> " ;
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ public function getTypeName(array $parameter, array $method = []): string
222
222
return "Partial<Preferences> " ;
223
223
case 'document ' :
224
224
if ($ method ['method ' ] === 'post ' ) {
225
- return "Document extends Models.DefaultDocument ? Partial<Models.Document> & Record<string, any> : Partial<Models.Document> & Partial< Omit<Document, keyof Models.Document> > " ;
225
+ return "Document extends Models.DefaultDocument ? Partial<Models.Document> & Record<string, any> : Partial<Models.Document> & Omit<Document, keyof Models.Document> " ;
226
226
}
227
227
if ($ method ['method ' ] === 'patch ' ) {
228
228
return "Document extends Models.DefaultDocument ? Partial<Models.Document> & Record<string, any> : Partial<Models.Document> & Partial<Omit<Document, keyof Models.Document>> " ;
You can’t perform that action at this time.
0 commit comments