mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
381 B
TypeScript
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;
|