@types/sentencer
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/sentencer

Weekly Downloads

34

Version

0.2.3

License

MIT

Unpacked Size

3.44 kB

Total Files

5

Last publish

Collaborators

  • types