File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
< html xmlns ="http://www.w3.org/1999/xhtml ">
3
3
< head >
4
4
< script src ="lib/kiwi.js "> </ script >
Original file line number Diff line number Diff line change 44
44
"build" : " tsc && tsc -t es6 --outDir tmp/es && rollup -c" ,
45
45
"clean" : " rimraf lib/ es/ tmp/" ,
46
46
"test" : " npm run lint && mocha test/main.cjs" ,
47
- "format" : " prettier . --write" ,
47
+ "format" : " npm run prettier" ,
48
+ "prettier" : " prettier . --write" ,
49
+ "lint" : " prettier . --check" ,
48
50
"// TODO cov script not currently collecting coverage information although it runs" : " " ,
49
51
"cov" : " istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -R test/main.cjs" ,
50
52
"doc" : " jsdoc2md -f tmp/kiwi.js -m none -g none > docs/Kiwi.md && node scripts/docs-update-headings.js && prettier docs/Kiwi.md --write" ,
51
- "lint" : " prettier . --check" ,
52
53
"bench" : " node bench/main.cjs" ,
53
54
"version" : " npm run clean && npm run build && npm test && npm run bench && git add ." ,
54
55
"release:patch" : " npm version patch -m 'v%s' && npm publish && git push --follow-tags" ,
Original file line number Diff line number Diff line change @@ -137,7 +137,10 @@ class Pair<T, U> {
137
137
* @param first The first item of the pair.
138
138
* @param second The second item of the pair.
139
139
*/
140
- constructor ( public first : T , public second : U ) { }
140
+ constructor (
141
+ public first : T ,
142
+ public second : U ,
143
+ ) { }
141
144
142
145
/**
143
146
* Create a copy of the pair.
You can’t perform that action at this time.
0 commit comments