Make optional arguments actually optional

This commit is contained in:
Sam Nolan 2022-05-10 16:08:12 +00:00 committed by Quinn Dougherty
parent b2a972605d
commit b0c84450ff

View File

@ -213,15 +213,15 @@ export interface SquiggleChartProps {
width?: number; width?: number;
height?: number; height?: number;
/** Bindings of previous variables declared */ /** Bindings of previous variables declared */
bindings: bindings; bindings?: bindings;
/** JS imported parameters */ /** JS imported parameters */
jsImports: jsImports; jsImports: jsImports;
/** Whether to show a summary of the distirbution */ /** Whether to show a summary of the distirbution */
showSummary?: boolean; showSummary?: boolean;
/** Whether to show type information about returns, default false */ /** Whether to show type information about returns, default false */
showTypes: boolean; showTypes?: boolean;
/** Whether to show graph controls (scale etc)*/ /** Whether to show graph controls (scale etc)*/
showControls: boolean; showControls?: boolean;
} }
const ChartWrapper = styled.div` const ChartWrapper = styled.div`