mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
loopback-boot: Fix lint (#20935)
This commit is contained in:
12
types/loopback-boot/index.d.ts
vendored
12
types/loopback-boot/index.d.ts
vendored
@@ -79,9 +79,8 @@ import * as loopback from "loopback";
|
||||
* To avoid this when using bootLoopBackApp() make sure all models are passed as part of the models definition.
|
||||
* Throws an error if the config object is not valid or if boot fails.
|
||||
*
|
||||
* @param {Loopback.LoopbackApplication} app LoopBack application created by loopback().
|
||||
* @param {string|OptionsLB} options Boot options; If String, this is the application root directory; if object, has below properties.
|
||||
* @param {() => void} callback
|
||||
* @param app LoopBack application created by loopback().
|
||||
* @param options Boot options; If String, this is the application root directory; if object, has below properties.
|
||||
*/
|
||||
|
||||
declare function lb(app: loopback.LoopBackApplication, options: string|OptionsLB, callback?: (err: Error) => void): void;
|
||||
@@ -189,12 +188,9 @@ declare namespace lb {
|
||||
* compileToBrowserify
|
||||
*
|
||||
* Compile boot instructions and add them to a browserify bundler.
|
||||
* @param {string|any} options as described in bootLoopBackApp above.
|
||||
* @param {any} bundler A browserify bundler created by browserify().
|
||||
* @class
|
||||
* @constructor
|
||||
* @param options as described in bootLoopBackApp above.
|
||||
* @param bundler A browserify bundler created by browserify().
|
||||
*/
|
||||
|
||||
class compileToBrowserify {
|
||||
/**
|
||||
* Application identifier used to load the correct boot configuration when
|
||||
|
||||
Reference in New Issue
Block a user