Skip to content

Commit

Permalink
chore: upgrade Typescript to 4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed May 31, 2022
1 parent e2c7ced commit f3198e1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@
"terser": "^5.12.1",
"ts-jest": "^27.1.3",
"ts-json-schema-generator": "^1.0.0",
"typescript": "~4.6.2",
"vega-cli": "^5.22.0",
"typescript": "~4.7.2",
"vega-datasets": "~2.3.0",
"vega-embed": "^6.20.8",
"vega-tooltip": "^0.28.0",
Expand Down
2 changes: 1 addition & 1 deletion src/compositemark/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export function partLayerMixins<P extends PartsMixins<any>>(
...(color ? {color} : {}),
...(opacity ? {opacity} : {}),
...(isMarkDef(partBaseSpec.mark) ? partBaseSpec.mark : {type: partBaseSpec.mark}),
style: `${mark}-${part}`,
style: `${mark}-${String(part)}`,
...(isBoolean(markDef[part]) ? {} : (markDef[part] as MarkConfig<ExprRef | SignalRef>))
}
}
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7683,6 +7683,11 @@ typescript@~4.6.2:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9"
integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==

typescript@~4.7.2:
version "4.7.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.2.tgz#1f9aa2ceb9af87cca227813b4310fff0b51593c4"
integrity sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==

typical@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/typical/-/typical-4.0.0.tgz#cbeaff3b9d7ae1e2bbfaf5a4e6f11eccfde94fc4"
Expand Down

0 comments on commit f3198e1

Please sign in to comment.