1.0.3 • Published 6 months ago

@types/string-placeholder v1.0.3

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

Installation

npm install --save @types/string-placeholder

Summary

This package contains type definitions for string-placeholder (https://github.com/crysalead-js/string-placeholder#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-placeholder.

index.d.ts

// Type definitions for string-placeholder 1.0
// Project: https://github.com/crysalead-js/string-placeholder#readme
// Definitions by: Filipe Ferreira <https://github.com/iTsFILIPOficial>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.1

declare function template(str: string, data: Readonly<unknown>, options?: Readonly<Options>): string;

interface Options {
    before?: string | undefined;
    after?: string | undefined;
    escape?: string | undefined;
    clean?: boolean | undefined;
}

export = template;

Additional Details

  • Last updated: Fri, 02 Jul 2021 22:33:02 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Filipe Ferreira.

1.0.2

7 months ago

1.0.3

6 months ago

1.0.1

3 years ago

1.0.0

4 years ago