Browse Source

Fix TS

main
Dan Abramov 3 years ago
parent
commit
e49a96f28c
  1. 2
      beta/src/components/MDX/Sandpack/CustomPreset.tsx

2
beta/src/components/MDX/Sandpack/CustomPreset.tsx

@ -21,7 +21,7 @@ import {CustomTheme} from './Themes';
import {useSandpackLint} from './useSandpackLint';
// Workaround for https://github.com/reactjs/reactjs.org/issues/4686#issuecomment-1137402613.
const emptyArray = [];
const emptyArray: Array<any> = [];
export function CustomPreset({
isSingleFile,

Loading…
Cancel
Save