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
5757 return "Partial<Preferences> " ;
5858 case 'document ' :
5959 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> " ;
6161 }
6262 if ($ method ['method ' ] === 'patch ' ) {
6363 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
222222 return "Partial<Preferences> " ;
223223 case 'document ' :
224224 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> " ;
226226 }
227227 if ($ method ['method ' ] === 'patch ' ) {
228228 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