Skip to content

Commit aff042a

Browse files
committed
fix: return type of FibAppORM['define']
1 parent 366b258 commit aff042a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Typo/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ export namespace FibApp {
393393
name: string,
394394
properties: T,
395395
opts?: U
396-
) => FibAppORMModel<FxOrmModel.GetPropertiesType<T>, Exclude<U['methods'], void>>;
396+
) => FibAppORMModel<FxOrmModel.GetPropertiesType<T>, Exclude<U['methods'], void> & Record<string, (...args: any) => any>>;
397397
}
398398
// compatible
399399
export type FibAppDb = FibAppORM

0 commit comments

Comments
 (0)