mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Fix lint
This commit is contained in:
8
types/loopback/index.d.ts
vendored
8
types/loopback/index.d.ts
vendored
@@ -11,7 +11,7 @@
|
||||
************************************************/
|
||||
|
||||
import * as core from "express-serve-static-core";
|
||||
import {NextFunction} from "../express/index";
|
||||
import { NextFunction } from "express";
|
||||
|
||||
declare function l(): l.LoopBackApplication;
|
||||
declare namespace l {
|
||||
@@ -894,11 +894,9 @@ declare namespace l {
|
||||
* @param method
|
||||
* @param backback
|
||||
*/
|
||||
beforeRemote(method: string, callback: (ctx: Context, modelInstanceOrNext: Model
|
||||
| NextFunction, next?: NextFunction)=>void): void;
|
||||
beforeRemote(method: string, callback: (ctx: Context, modelInstanceOrNext: Model | NextFunction, next?: NextFunction) => void): void;
|
||||
|
||||
afterRemote(method: string, callback: (ctx: Context, modelInstanceOrNext: Model
|
||||
| NextFunction, next?: NextFunction) => void): void;
|
||||
afterRemote(method: string, callback: (ctx: Context, modelInstanceOrNext: Model | NextFunction, next?: NextFunction) => void): void;
|
||||
|
||||
afterRemoteError(method: string, callback: NextFunction): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user