Update to prettier 2.5.0 (#14000)
This commit is contained in:
parent
bafa016bff
commit
23fec0c8c9
@ -5,7 +5,7 @@
|
||||
"semi": true,
|
||||
"singleQuote": false,
|
||||
"bracketSpacing": true,
|
||||
"jsxBracketSameLine": false,
|
||||
"bracketSameLine": false,
|
||||
"tabWidth": 2,
|
||||
"printWidth": 80,
|
||||
"overrides": [{
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
"lint-staged": "^9.2.0",
|
||||
"lodash": "^4.17.21",
|
||||
"mergeiterator": "^1.2.5",
|
||||
"prettier": "2.3.1",
|
||||
"prettier": "2.5.0",
|
||||
"rollup": "~2.54.0",
|
||||
"rollup-plugin-dts": "^2.0.0",
|
||||
"rollup-plugin-node-polyfills": "^0.2.1",
|
||||
|
||||
@ -2,18 +2,15 @@ import type * as t from "@babel/types";
|
||||
import { NodePath } from "./index";
|
||||
import { VirtualTypeAliases } from "./path/generated/virtual-types";
|
||||
|
||||
export type Visitor<S = {}> = VisitNodeObject<S, t.Node> &
|
||||
{
|
||||
export type Visitor<S = {}> = VisitNodeObject<S, t.Node> & {
|
||||
[Type in t.Node["type"]]?: VisitNode<S, Extract<t.Node, { type: Type }>>;
|
||||
} &
|
||||
{
|
||||
} & {
|
||||
[K in keyof t.Aliases]?: VisitNode<S, t.Aliases[K]>;
|
||||
} &
|
||||
{
|
||||
} & {
|
||||
[K in keyof VirtualTypeAliases]?: VisitNode<S, VirtualTypeAliases[K]>;
|
||||
} & {
|
||||
} & {
|
||||
[k: string]: VisitNode<S, t.Node>;
|
||||
};
|
||||
};
|
||||
|
||||
export type VisitNode<S, P extends t.Node> =
|
||||
| VisitNodeFunction<S, P>
|
||||
|
||||
10
yarn.lock
10
yarn.lock
@ -5815,7 +5815,7 @@ __metadata:
|
||||
lint-staged: ^9.2.0
|
||||
lodash: ^4.17.21
|
||||
mergeiterator: ^1.2.5
|
||||
prettier: 2.3.1
|
||||
prettier: 2.5.0
|
||||
rollup: ~2.54.0
|
||||
rollup-plugin-dts: ^2.0.0
|
||||
rollup-plugin-node-polyfills: ^0.2.1
|
||||
@ -12858,12 +12858,12 @@ fsevents@^1.2.7:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"prettier@npm:2.3.1":
|
||||
version: 2.3.1
|
||||
resolution: "prettier@npm:2.3.1"
|
||||
"prettier@npm:2.5.0":
|
||||
version: 2.5.0
|
||||
resolution: "prettier@npm:2.5.0"
|
||||
bin:
|
||||
prettier: bin-prettier.js
|
||||
checksum: 3b37731ff7150feecf19736c77c790e7e276b404ac9af81cbaf87cfecefc48ef9a864f34c2a5caf5955378b8f2525984b8611703a0d9c1f052b4cfa6eb35899f
|
||||
checksum: aad1b35b73e7c14596d389d90977a83dad0db689ba5802a0ef319c357b7867f55b885db197972aa6a56c30f53088c9f8e0d7f7930ae074c275a4e9cbe091d21d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user