UNPKG

@2toad/profanity

Version:

A JavaScript profanity filter

10 lines (9 loc) 272 B
export declare class List { words: string[]; onListChanged: Function; get empty(): boolean; constructor(onListChanged: Function); loadFile(filename: string): void; removeWords(words: string[]): void; addWords(words: string[]): void; }