File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1+ declare function numbered ( input : string ) : number ;
2+ declare function numbered ( input : number ) : string ;
3+
4+ declare namespace numbered {
5+ /**
6+ * Transform a number string into a number.
7+ */
8+ export function parse ( input : string ) : number ;
9+
10+ /**
11+ * Transform a number into the string representation.
12+ */
13+ export function stringify ( input : number ) : string ;
14+ }
15+
16+ export = numbered ;
Original file line number Diff line number Diff line change 11{
22 "name" : " numbered" ,
33 "version" : " 1.0.0" ,
4- "description" : " Turns a number into word based equivalent , and parse it back again " ,
4+ "description" : " Stringify any number into words , and parse number strings back to a number " ,
55 "main" : " index.js" ,
6+ "typings" : " index.d.ts" ,
7+ "files" : [
8+ " index.js" ,
9+ " index.d.ts"
10+ ],
611 "scripts" : {
712 "test" : " istanbul cover _mocha -- -R spec"
813 },
You can’t perform that action at this time.
0 commit comments