mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-09 04:18:51 +08:00
Add docs for the factory
This commit is contained in:
9
jquery-easy-loading/jquery-easy-loading.d.ts
vendored
9
jquery-easy-loading/jquery-easy-loading.d.ts
vendored
@@ -195,5 +195,14 @@ declare var factory: (root?: any, jQuery?: JQueryStatic) => JQueryStatic;
|
||||
|
||||
declare module "jquery-easy-loading" {
|
||||
|
||||
/**
|
||||
* The package `jquery-easy-loading` would return a factory for the library
|
||||
* itself if you use this not in the browser env.
|
||||
*
|
||||
* <pre>
|
||||
* import * as factory from "jquery-easy-loading";
|
||||
* const $: JQueryStatic = factory(window);
|
||||
* </pre>
|
||||
*/
|
||||
export = factory;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user