mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
13 lines
228 B
TypeScript
13 lines
228 B
TypeScript
export interface IRule {
|
|
title: string;
|
|
keywords?: string[];
|
|
regex?: RegExp | string;
|
|
rules?: IRule[];
|
|
examples?: string[];
|
|
}
|
|
|
|
export interface Rule{
|
|
title:string,
|
|
rule:RegExp,
|
|
examples:string[]
|
|
} |