mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-09 04:57:04 +03:00
migrate to typescript
This commit is contained in:
committed by
Dainius Dauksevicius
parent
c462323dd5
commit
08d27265fc
10
test/utils.ts
Normal file
10
test/utils.ts
Normal 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;
|
||||
Reference in New Issue
Block a user