10 lines
302 B
TypeScript
10 lines
302 B
TypeScript
// Type definitions for left-pad 1.2.0
|
|
// Project: https://github.com/stevemao/left-pad
|
|
// Definitions by: Zlatko Andonovski, Andrew Yang, Chandler Fang and Zac Xu
|
|
|
|
declare function leftPad(str: string|number, len: number, ch?: string|number): string;
|
|
|
|
declare namespace leftPad { }
|
|
|
|
export = leftPad;
|