2.5.4 • Published 6 months ago
@types/typopo v2.5.4
Installation
npm install --save @types/typopo
Summary
This package contains type definitions for typopo (https://github.com/surfinzap/typopo#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/typopo.
index.d.ts
// Type definitions for typopo 2.5
// Project: https://github.com/surfinzap/typopo#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Correct typos
* @param string - input text for correction
* @param [locale=en-us] - supported languages: en, sk, cs, rue.
* @param [configuration] - configuration
* @returns corrected output
*/
export function fixTypos(string: string, locale?: Locale, configuration?: Configuration): string;
export type Locale = 'en-us' | 'de-de' | 'cs' | 'rue' | 'sk';
export interface Configuration {
/**
* keep Markdown code blocks in your Markdown files
*/
keepMarkdownCodeBlocks?: boolean | undefined;
removeLines?: boolean | undefined;
removeWhitespacesBeforeMarkdownList?: boolean | undefined;
}
export as namespace typopo;
Additional Details
- Last updated: Fri, 02 Jul 2021 19:37:29 GMT
- Dependencies: none
- Global values:
typopo
Credits
These definitions were written by Piotr Błażejewicz.