mirror of
https://github.com/tradingview/lightweight-charts.git
synced 2024-11-25 16:50:59 +08:00
update create-lwc-plugin package to use v4.2.0
This commit is contained in:
parent
ff9279830c
commit
fcc1fe338d
@ -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
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user