mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Fix hook function types
This commit is contained in:
6
azure-mobile-apps/azure-mobile-apps.d.ts
vendored
6
azure-mobile-apps/azure-mobile-apps.d.ts
vendored
@@ -253,9 +253,9 @@ declare namespace Azure.MobileApps {
|
||||
softDelete?: boolean;
|
||||
userIdColumn?: string;
|
||||
|
||||
filters?: [(QueryJs, Context) => void | QueryJs];
|
||||
transforms?: [(any, Context) => void | any];
|
||||
hooks?: [(any, Context) => void];
|
||||
filters?: [(query: QueryJs, context: Context) => void | QueryJs];
|
||||
transforms?: [(item: any, context: Context) => void | any];
|
||||
hooks?: [(results: any, context: Context) => void];
|
||||
|
||||
perUser?: boolean;
|
||||
recordsExpire?: Duration;
|
||||
|
||||
Reference in New Issue
Block a user