Skip to content

Commit

Permalink
fix: export ConfigData&PreloadParams types
Browse files Browse the repository at this point in the history
  • Loading branch information
martyanovandrey committed Nov 12, 2024
1 parent d65bf9c commit 0456738
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/index.server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@ import {renderToString} from 'react-dom/server';

import {App, DocAnalytics, DocInnerProps, DocLeadingPageData, DocPageData} from './components/App';
import {LINK_KEYS, LINK_KEYS_LEADING_CONFIG, LINK_KEYS_PAGE_CONSTRUCTOR_CONFIG} from './constants';
import {preprocess} from './preprocess';
import {ConfigData, PreloadParams, preprocess} from './preprocess';

export type {DocInnerProps, DocPageData, DocLeadingPageData, DocAnalytics};
export type {
DocInnerProps,
DocPageData,
DocLeadingPageData,
DocAnalytics,
ConfigData,
PreloadParams,
};
export type {
SearchConfig as ISearchProviderConfig,
WorkerConfig as ISearchWorkerConfig,
Expand Down

0 comments on commit 0456738

Please sign in to comment.