提交 b7178e17 编写于 作者: R Ryan Dahl

Upgrade Prettier to support BigInt syntax in TS

上级 38463848
......@@ -180,8 +180,8 @@ export class Compiler
return this._moduleMetaDataMap.has(fileName)
? this._moduleMetaDataMap.get(fileName)
: fileName.startsWith(ASSETS)
? this._resolveModule(fileName, "")
: undefined;
? this._resolveModule(fileName, "")
: undefined;
}
/** Given a `moduleSpecifier` and `containingFile` retrieve the cached
......
......@@ -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
);
}
......
Subproject commit 69028eefdc6534683eb1263be0115df679dcaed1
Subproject commit e94296a27cdaeb96bfd86e499162764409e503bc
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册