Skip to content

Commit

Permalink
update create-lwc-plugin package to use v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SlicedSilver committed Jul 26, 2024
1 parent ff92798 commit fcc1fe3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/create-lwc-plugin/template-common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Description of the Plugin.

- Developed for Lightweight Charts version: `v4.1.0`
- Developed for Lightweight Charts version: `v4.2.0`

## Running Locally

Expand Down
2 changes: 1 addition & 1 deletion packages/create-lwc-plugin/template-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dependencies": {
"dts-bundle-generator": "^8.0.1",
"fancy-canvas": "^2.1.0",
"lightweight-charts": "^4.1.0-rc2"
"lightweight-charts": "^4.2.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface ChartProps {

type IFrameWindow<TVersion extends keyof LightweightChartsApiTypeMap> = Window & {
createChart: LightweightChartsApiTypeMap[TVersion]['createChart'];
createChartEx: TVersion extends '4.1' | 'current' ? LightweightChartsApiTypeMap[TVersion]['createChartEx'] : undefined;
createChartEx: TVersion extends '4.2' | '4.1' | 'current' ? LightweightChartsApiTypeMap[TVersion]['createChartEx'] : undefined;
run?: () => void;
};

Expand Down

0 comments on commit fcc1fe3

Please sign in to comment.