@types/trim
Version:
TypeScript definitions for trim
27 lines (20 loc) • 744 B
Markdown
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/trim/index.d.ts)
````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](https://github.com/skysteve).