File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 "docs-publish" : " yarn run docs && touch docs/.nojekyll && gh-pages -d docs -t" ,
1616 "build" : " rimraf lib && rimraf lib-umd && yarn run lint && tsc && yarn test && webpack && size-limit" ,
1717 "build-prod" : " yarn run build && yarn run docs-publish" ,
18- "prepublishOnly" : " yarn run build"
18+ "prepublishOnly" : " yarn run build-prod "
1919 },
2020 "author" : " Benjamin Winterberg" ,
2121 "homepage" : " http://winterbe.com" ,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ function compareByDescending<T>(keyOrSelector: any): Comparator<T> {
5858function asSelector < T > ( keyOrSelector : ( item : T ) => any | string ) : ( item : T ) => any {
5959 return typeof keyOrSelector === "function"
6060 ? keyOrSelector
61- : ( item : T ) => ( item as any ) [ keyOrSelector ] ;
61+ : ( item : T ) => ( item as any ) [ keyOrSelector as string ] ;
6262}
6363
6464function naturalCompare < T > ( a : T , b : T ) : number {
You can’t perform that action at this time.
0 commit comments