File tree 6 files changed +3355
-3379
lines changed
6 files changed +3355
-3379
lines changed Original file line number Diff line number Diff line change 11
11
"editor.formatOnSave" : true ,
12
12
"markdownlint.config" : {
13
13
"MD033" : false
14
- }
14
+ },
15
+ "typescript.tsdk" : " node_modules/typescript/lib"
15
16
}
Original file line number Diff line number Diff line change 400
400
"email" : " xsro@foxmail.com"
401
401
},
402
402
"license" : " MIT"
403
- }
403
+ }
Original file line number Diff line number Diff line change 1
1
import * as path from 'path' ;
2
- import * as Mocha from 'mocha' ;
3
- import * as glob from 'glob' ;
2
+ import Mocha from 'mocha' ;
3
+ import glob from 'glob' ;
4
4
import * as vscode from 'vscode' ;
5
5
6
6
export function run ( ) : Promise < void > {
Original file line number Diff line number Diff line change 3
3
4
4
export const fetch =
5
5
process . platform
6
- ? eval ( "( ...args) => import('node-fetch').then(({default: fetch}) => fetch(...args))" )
6
+ ? ( ...args : any [ ] ) => import ( 'node-fetch' ) . then ( ( { default : fetch } ) => ( fetch as any ) ( ...args ) )
7
7
: window . fetch ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "module" : " commonjs " ,
3
+ "module" : " node12 " ,
4
4
"target" : " es2017" ,
5
5
"outDir" : " dist" ,
6
6
"lib" : [
You can’t perform that action at this time.
0 commit comments