Skip to content

Commit

Permalink
🏷️ fix exported types
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-gohri committed Aug 28, 2021
1 parent e033066 commit fa9e0e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Props as LayoutProps } from '@theme/Layout';
import { RedocRawOptions, ObjectDescriptionProps } from 'redoc';
import { RecursivePartial } from './util';
import type { Props as LayoutProps } from '@theme/Layout';
import type { RedocRawOptions, ObjectDescriptionProps } from 'redoc';
import type { RecursivePartial } from './util';

export type RedocProps = {
spec?: Record<string, unknown>;
Expand Down
4 changes: 3 additions & 1 deletion packages/redocusaurus/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ import type { ThemeOptions } from 'docusaurus-theme-redoc';

export interface PresetOptions {
debug?: boolean;
specs: PluginOptions[] | PluginOptions;
specs: PluginOptions[];
theme?: ThemeOptions;
}

export type PresetEntry = ['redocusaurus', PresetOptions];

export default function preset(
context: LoadContext,
opts: PresetOptions = {
Expand Down

0 comments on commit fa9e0e7

Please sign in to comment.