From 70ea9c1b145a0e39b626b5a077be5a4e18649356 Mon Sep 17 00:00:00 2001 From: Sam Nolan Date: Tue, 10 May 2022 16:08:12 +0000 Subject: [PATCH] Make optional arguments actually optional --- packages/components/src/components/SquiggleChart.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/src/components/SquiggleChart.tsx b/packages/components/src/components/SquiggleChart.tsx index e1407be5..13fd611a 100644 --- a/packages/components/src/components/SquiggleChart.tsx +++ b/packages/components/src/components/SquiggleChart.tsx @@ -213,15 +213,15 @@ export interface SquiggleChartProps { width?: number; height?: number; /** Bindings of previous variables declared */ - bindings: bindings; + bindings?: bindings; /** JS imported parameters */ jsImports?: jsImports; /** Whether to show a summary of the distirbution */ showSummary?: boolean; /** Whether to show type information about returns, default false */ - showTypes: boolean; + showTypes?: boolean; /** Whether to show graph controls (scale etc)*/ - showControls: boolean; + showControls?: boolean; } const ChartWrapper = styled.div`