File tree 2 files changed +9
-4
lines changed
packages/docusaurus-theme-redoc/src
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 3
3
*/
4
4
import React from 'react' ;
5
5
// @ts -ignore
6
- import { Context as DocusaurusContext } from '@docusaurus/docusaurusContext' ;
6
+ import { Context as DocusaurusContext } from '@docusaurus/docusaurusContext' ;
7
7
import useDocusaurusContext from '@docusaurus/useDocusaurusContext' ;
8
8
// eslint-disable-next-line import/no-extraneous-dependencies
9
9
import { renderToString } from 'react-dom/server' ;
Original file line number Diff line number Diff line change 1
1
import type { Props as LayoutProps } from '@theme/Layout' ;
2
- import type { RedocRawOptions , ObjectDescriptionProps } from 'redoc' ;
2
+ import type {
3
+ RedocRawOptions ,
4
+ ObjectDescriptionProps ,
5
+ RedocStandaloneProps ,
6
+ } from 'redoc' ;
3
7
import type { RecursivePartial } from './util' ;
4
8
5
- export interface RedocProps extends Omit < RedocStandaloneProps , 'spec' | 'specUrl' | 'options' > {
9
+ export interface RedocProps
10
+ extends Omit < RedocStandaloneProps , 'spec' | 'specUrl' | 'options' > {
6
11
spec ?: Record < string , unknown > ;
7
12
specUrl ?: string ;
8
- } ;
13
+ }
9
14
10
15
export type ApiSchemaProps = Omit <
11
16
ObjectDescriptionProps ,
You can’t perform that action at this time.
0 commit comments