File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
orm/build/generate-interface Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,12 @@ function buildActions(
9494 const symbol = Deno . inspect ( action . action ) ;
9595 const isAsync = symbol . includes ( "Async" ) ;
9696 const returnType = ( input : string ) : string => {
97- if ( isAsync ) {
98- return `Promise<${ input } >` ;
99- }
100- return input ;
97+ return `Promise<${ input } >` ;
98+
99+ // if (isAsync) {
100+ // return `Promise<${input}>`;
101+ // }
102+ // return input;
101103 } ;
102104 if ( action . params ?. length == 0 || ! action . params ) {
103105 hasNonParamsActions = true ;
Original file line number Diff line number Diff line change @@ -2384,7 +2384,7 @@ type EmailTemplateParamsActionMap = {
23842384 */
23852385 params : Record < string , unknown > ;
23862386 } ;
2387- return : unknown ;
2387+ return : Promise < unknown > ;
23882388 } ;
23892389} ;
23902390
You can’t perform that action at this time.
0 commit comments