Files
blog/node_modules/hexo-util/dist/pattern.d.ts
2025-07-16 16:30:56 +00:00

7 lines
184 B
TypeScript

declare class Pattern {
match: (str: string) => any;
constructor(rule: Pattern | ((str: string) => any) | RegExp | string);
test(str: string): boolean;
}
export = Pattern;