From 0456738cf4ff01ed73ec4c23085badbfe0bf62f8 Mon Sep 17 00:00:00 2001 From: martyanov-av Date: Tue, 12 Nov 2024 17:33:12 +0300 Subject: [PATCH] fix: export ConfigData&PreloadParams types --- src/index.server.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/index.server.tsx b/src/index.server.tsx index b67fbba..74bc16a 100644 --- a/src/index.server.tsx +++ b/src/index.server.tsx @@ -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,