Skip to content

Commit

Permalink
fix website
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed May 20, 2023
1 parent 72f3d72 commit 16fda8a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/website/src/components/playground/Playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import OptionPanel, { Language } from './OptionPanel';
import type { Config } from 'react-docgen';
import { parse, builtinResolvers } from 'react-docgen';

const defaultPlugins = [
type Plugins = NonNullable<
NonNullable<NonNullable<Config['babelOptions']>['parserOpts']>['plugins']
>;

const defaultPlugins: Plugins = [
'jsx',
'asyncDoExpressions',
'decimal',
Expand Down Expand Up @@ -79,7 +83,7 @@ export default class App extends Component<PlaygroundProps, PlaygroundState> {
};

buildOptions(language: Language): Config {
const options: Config = {
const options = {
resolver,
babelOptions: {
babelrc: false,
Expand Down

0 comments on commit 16fda8a

Please sign in to comment.