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

0.1.3 • Public • Published

Installation

npm install --save @types/trim

Summary

This package contains type definitions for trim (https://www.npmjs.com/package/trim).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/trim.

index.d.ts

declare function Trim(str: string): string;
declare namespace Trim {
    function left(str: string): string;
    function right(str: string): string;
}

export = Trim;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Steve Jenkins.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/trim

Weekly Downloads

904

Version

0.1.3

License

MIT

Unpacked Size

2.83 kB

Total Files

5

Last publish

Collaborators

  • types