Files
DefinitelyTyped/trim/index.d.ts
Steve 374978e36a Add definitions for trim (#12292)
* Add definitions for trim

* comments from PR
2016-11-08 22:58:24 +09:00

12 lines
379 B
TypeScript

// Type definitions for trim 0.01
// Project: https://www.npmjs.com/package/trim
// Definitions by: Steve Jenkins <https://github.com/skysteve>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function Trim(str: string): string;
declare namespace Trim {
function left(str: string): string;
function right(str: string): string;
}
export = Trim;