summaryrefslogtreecommitdiff
path: root/js/url_search_params.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-11-30 18:41:33 -0500
committerRyan Dahl <ry@tinyclouds.org>2018-11-30 16:26:53 -0800
commitb7178e170466dc550e23e9b08dce9d07d9b4974c (patch)
tree4c47d00cd3ea709fed5d4c768168868ddc96186b /js/url_search_params.ts
parent38463848885bee38c2d509bbcd2ed453702d9f9f (diff)
Upgrade Prettier to support BigInt syntax in TS
Diffstat (limited to 'js/url_search_params.ts')
-rw-r--r--js/url_search_params.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/url_search_params.ts b/js/url_search_params.ts
index cf005fc16..228c36956 100644
--- a/js/url_search_params.ts
+++ b/js/url_search_params.ts
@@ -117,8 +117,8 @@ export class URLSearchParams {
* searchParams.sort();
*/
sort(): void {
- this.params = this.params.sort(
- (a, b) => (a[0] === b[0] ? 0 : a[0] > b[0] ? 1 : -1)
+ this.params = this.params.sort((a, b) =>
+ a[0] === b[0] ? 0 : a[0] > b[0] ? 1 : -1
);
}