Installation
npm install --save @types/sentencer
Summary
This package contains type definitions for sentencer (https://www.npmjs.com/package/sentencer (Does not have to be to GitHub).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sentencer.
index.d.ts
type action = () => string;
interface actions {
[key: string]: action;
}
interface options {
nounList?: string[];
adjectiveList?: string[];
actions?: actions;
}
interface Sentencer {
actions: actions;
make: (template: string) => string;
configure: (options: options) => void;
use: (options: options) => Sentencer;
}
export = sentencer;
export as namespace sentencer;
declare const sentencer: Sentencer;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Julien.