migrate to typescript

This commit is contained in:
Dainius Daukševičius
2020-10-17 21:56:54 +03:00
committed by Dainius Dauksevicius
parent c462323dd5
commit 08d27265fc
120 changed files with 5002 additions and 4711 deletions

10
test/utils.ts Normal file
View File

@@ -0,0 +1,10 @@
import {config} from '../src/config';
export function getbaseURL() {
return "http://localhost:" + config.port;
}
/**
* Duplicated from Mocha types. TypeScript doesn't infer that type by itself for some reason.
*/
export type Done = (err?: any) => void;