UNPKG

docusaurus-plugin-typedoc-api

Version:

Docusaurus plugin that provides source code API documentation powered by TypeDoc.

18 lines (16 loc) 381 B
import { createContext } from 'react'; import type { ApiOptions, TSDDeclarationReflectionMap } from '../types'; export const ApiDataContext = createContext<{ options: ApiOptions; reflections: TSDDeclarationReflectionMap; }>({ options: { banner: '', breadcrumbs: true, gitRefName: 'master', minimal: false, pluginId: 'default', scopes: [], }, reflections: {}, });