mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
Upgrade Prettier to support BigInt syntax in TS
This commit is contained in:
parent
3846384888
commit
b7178e1704
4 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue