Installation
npm install --save @types/title
Summary
This package contains type definitions for title (https://github.com/vercel/title#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/title.
index.d.ts
/**
* This package correctly capitalizes your titles as per The Chicago Manual of Style.
* Furthermore, all of Vercel's product names are capitalized properly as well.
*/
declare function title(string: string, options?: title.Options): string;
declare namespace title {
interface Options {
/**
* @default undefined
*/
special?: string[] | undefined;
}
}
export = title;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Fahad, and Piotr Błażejewicz.