@beyond-js/finder
Version:
@beyond-js/finder is a lightweight utility that makes file discovery in Node.js projects simple and efficient. Connected to @beyond-js/watchers, it works in real time — detecting changes instantly and keeping your file queries always up to date. Ideal for
26 lines (22 loc) • 662 B
TypeScript
/************
Processor: ts
************/
import * as __beyond_dep_ns_0 from '@beyond-js/file/data';
// index.ts
declare namespace ns_0 {
import FileData = __beyond_dep_ns_0.FileData;
export interface IDiagnostic {
code: string;
message: string;
}
export interface IFilterSpec {
includes?: string[];
excludes?: string[];
filename?: string;
extname?: string | string[];
filter?: (file: FileData) => boolean;
}
}
export import IDiagnostic = ns_0.IDiagnostic;
export import IFilterSpec = ns_0.IFilterSpec;
export declare const hmr: {on: (event: string, listener: any) => void, off: (event: string, listener: any) => void };