loopback-boot: Fix lint (#20935)

This commit is contained in:
Andy
2017-10-23 16:04:08 -07:00
committed by GitHub
parent 14002e5ce0
commit abb729c635

View File

@@ -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