Upgrade Prettier to support BigInt syntax in TS

This commit is contained in:
Ryan Dahl 2018-11-30 18:41:33 -05:00
parent 3846384888
commit b7178e1704
4 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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
);
}

View file

@ -3,13 +3,13 @@
"devDependencies": {
"@types/base64-js": "^1.2.5",
"@types/flatbuffers": "^1.9.0",
"@types/prettier": "^1.13.2",
"@types/prettier": "=1.15.3",
"@types/source-map-support": "^0.4.1",
"@types/text-encoding": "0.0.33",
"base64-js": "^1.3.0",
"flatbuffers": "^1.9.0",
"magic-string": "^0.22.5",
"prettier": "^1.14.0",
"prettier": "=1.15.3",
"rollup": "0.67.0",
"rollup-plugin-alias": "^1.4.0",
"rollup-plugin-analyzer": "^2.1.0",

@ -1 +1 @@
Subproject commit 69028eefdc6534683eb1263be0115df679dcaed1
Subproject commit e94296a27cdaeb96bfd86e499162764409e503bc