File tree Expand file tree Collapse file tree 4 files changed +10
-20
lines changed
Expand file tree Collapse file tree 4 files changed +10
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import g = require( "generic-functions" ) ;
22
3- var tvShow : Object = {
3+ var tvShow = {
44 seasons : 2 ,
55 show : "Better Call Saul" ,
66} ;
Original file line number Diff line number Diff line change 1- declare module "generic-functions" {
2- function strcmp ( str1 : string , str2 : string ) : boolean ;
3- function icstrcmp ( str1 : string , str2 : string ) : boolean ;
4- function strendswith ( str : string , suffix : string ) : boolean ;
5- function icstrendswith ( str : string , suffix : string ) : boolean ;
6- function endswithdot ( str : string ) : string ;
7- function println ( message : string ) : void ;
8- function printlns ( message : string [ ] ) : void ;
9- function objGetKeyByValue ( object : Object , value : any ) : string ;
10- }
1+ export function strcmp ( str1 : string , str2 : string ) : boolean ;
2+ export function icstrcmp ( str1 : string , str2 : string ) : boolean ;
3+ export function strendswith ( str : string , suffix : string ) : boolean ;
4+ export function icstrendswith ( str : string , suffix : string ) : boolean ;
5+ export function endswithdot ( str : string ) : string ;
6+ export function println ( message : string ) : void ;
7+ export function printlns ( message : string [ ] ) : void ;
8+ export function objGetKeyByValue ( object : any , value : any ) : string ;
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
33 "name" : " @types/generic-functions" ,
4- "version" : " 0.0 .9999" ,
4+ "version" : " 0.1 .9999" ,
55 "projects" : [
66 " https://github.com/stpettersens/genericFunctions-for-node#readme"
77 ],
You can’t perform that action at this time.
0 commit comments