File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1111 ],
1212 "scripts" : {
1313 "build" : " tsc -p tsconfig.json && npm run build-lualib" ,
14- "build-lualib" : " ts-node ./build_lualib.ts" ,
14+ "build-lualib" : " tslint -c ./tslint.json src/lualib/*.ts && ts-node ./build_lualib.ts" ,
1515 "test" : " tslint -p . && ts-node ./test/runner.ts" ,
1616 "coverage" : " nyc npm test && nyc report --reporter=text-lcov > coverage.lcov" ,
1717 "coverage-html" : " nyc npm test && nyc report --reporter=html" ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class Set<TValue> {
2020 }
2121 }
2222
23- public add ( value : TValue ) {
23+ public add ( value : TValue ) : Set < TValue > {
2424 if ( ! this . has ( value ) ) {
2525 this . size ++ ;
2626 }
Original file line number Diff line number Diff line change 1515 "max-classes-per-file" : 1 ,
1616 "max-line-length" : [true , 120 ],
1717 "no-console" : [false ],
18+ "no-namespace" : false ,
1819 "trailing-comma" : [
1920 true ,
2021 {
You can’t perform that action at this time.
0 commit comments