mirror of
https://github.com/rio-labs/rio.git
synced 2026-01-06 05:09:43 -06:00
fix typescript warning about override of state
This commit is contained in:
@@ -22,7 +22,7 @@ type PlotState = ComponentState & {
|
||||
};
|
||||
|
||||
export class PlotComponent extends ComponentBase {
|
||||
state: Required<PlotState>;
|
||||
declare state: Required<PlotState>;
|
||||
|
||||
// I know this abstraction looks like overkill, but plotly does so much
|
||||
// stuff with a time delay (loading plotly, setTimeout, resizeObserver, ...)
|
||||
|
||||
Reference in New Issue
Block a user