Files
DefinitelyTyped/types/freshy/index.d.ts
Nikita Volodin [Никита Володин] 486a5dc69f feat(types/freshy): types for new module freshy
2018-05-05 23:15:03 -04:00

9 lines
385 B
TypeScript

// Type definitions for freshy 1.0
// Project: https://github.com/krakenjs/freshy#readme
// Definitions by: Nikita Volodin <https://github.com/qlonik>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function unload(module: string): boolean;
export function reload(module: string): any;
export function freshy(module: string, cb?: (module: any) => any): any;