UNPKG

@jharrilim/madlibs

Version:

randomized madlibs templating engine

11 lines 443 B
interface Lookup<T> { [key: string]: T[]; } export declare class MadLibs { tagLookup: Lookup<string>; constructor(tagLookup?: Lookup<string>); readonly randomLibs: (templateStrings: TemplateStringsArray, ...templateStringArguments: any[]) => any[]; readonly compile: (templateStrings: TemplateStringsArray, ...templateStringArguments: any[]) => any[]; } export default MadLibs; //# sourceMappingURL=index.d.ts.map