2.5.4 • Published 6 months ago

@types/typopo v2.5.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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.

2.5.2

8 months ago

2.5.4

6 months ago

2.5.3

7 months ago

2.5.0

3 years ago

2.5.1

3 years ago

2.4.0

3 years ago