8 lines
329 B
TypeScript
8 lines
329 B
TypeScript
|
// Type definitions for left-pad 1.1
|
||
|
// Project: https://github.com/stevemao/left-pad
|
||
|
// Definitions by: Zlatko Andonovski <https://github.com/Goldsmith42>
|
||
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||
|
declare function leftPad(str: string|number, len: number, ch?: string|number): string;
|
||
|
|
||
|
export = leftPad;
|