File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 "scripts" : {
88 "lint" : " npm run lint:ts" ,
99 "lint:ts" : " tslint --project tsconfig.json --type-check" ,
10- "test" : " npm run test:js && npm run test:ts" ,
10+ "test" : " npm run lint && npm run test:js && npm run test:ts" ,
1111 "test:js" : " tap test.js" ,
1212 "test:ts" : " ts-node test.ts" ,
1313 "test_ts" : " ts-node node_modules/blue-tape/bin/blue-tape test_typescript.ts"
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ const { test } = require('tap');
77test ( 'TypeScript' , async t => {
88 t . plan ( 1 ) ;
99
10- let python = pythonBridge ( ) ;
11- let a = 123 , b = 321 ;
12- python . ex `
10+ const python = pythonBridge ( ) ;
11+ const a = 123 , b = 321 ;
12+ await python . ex `
1313 def hello(a, b):
1414 return a + b
1515 ` ;
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "target" : " es6"
3+ "target" : " es5"
4+ , "lib" : [" es2015" ]
45 , "module" : " commonjs"
56 , "outDir" : " dist"
67 , "declaration" : true
You can’t perform that action at this time.
0 commit comments