DefinitelyTyped/types/clear-require/index.d.ts

15 lines
381 B
TypeScript

// Type definitions for clear-require 2.0
// Project: https://github.com/sindresorhus/clear-module
// Definitions by: dan-j <https://github.com/dan-j>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface ClearRequire {
(moduleId: string): boolean;
all(): void;
match(regex: RegExp): void;
}
declare const clear: ClearRequire;
export = clear;