From abb729c635380e8ab3df240a2dd6dd0252a67a20 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 23 Oct 2017 16:04:08 -0700 Subject: [PATCH] loopback-boot: Fix lint (#20935) --- types/loopback-boot/index.d.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/types/loopback-boot/index.d.ts b/types/loopback-boot/index.d.ts index 05eae5b7bd..258800981b 100644 --- a/types/loopback-boot/index.d.ts +++ b/types/loopback-boot/index.d.ts @@ -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