Skip to content

Commit 1d41b3b

Browse files
committed
Fix build step
1 parent fda983a commit 1d41b3b

File tree

1 file changed

+2
-1
lines changed
  • packages/react-sandpack/src/helper-components/CodeMirror

1 file changed

+2
-1
lines changed

packages/react-sandpack/src/helper-components/CodeMirror/CodeMirror.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface Props {
1414
value: string
1515
) => void;
1616
value: string;
17-
codeMirrorOptions?: codemirror.EditorConfiguration;
17+
codeMirrorOptions?: Partial<codemirror.EditorConfiguration>;
1818
className?: string;
1919
style?: Object;
2020
}
@@ -35,6 +35,7 @@ export default class CodeMirror extends React.Component<Props> {
3535
style={style}
3636
>
3737
<Controlled
38+
// @ts-ignore
3839
options={{
3940
keyMap: 'sublime',
4041
indentUnit: 2,

0 commit comments

Comments
 (0)