Fix ae-forgotten-export
// Warning: (ae-forgotten-export) The symbol "StackOverflowSearchResultListItemProps" needs to be exported by the entry point index.d.ts Signed-off-by: Zach Hammer <zhammer@seatgeek.com>
This commit is contained in:
@@ -30,5 +30,6 @@ export type {
|
||||
StackOverflowQuestionsContentProps,
|
||||
StackOverflowQuestionsRequestParams,
|
||||
} from './types';
|
||||
export type { StackOverflowSearchResultListItemProps } from './search/StackOverflowSearchResultListItem';
|
||||
export { stackOverflowApiRef } from './api';
|
||||
export type { StackOverflowApi } from './api';
|
||||
|
||||
+5
@@ -29,6 +29,11 @@ import { useAnalytics } from '@backstage/core-plugin-api';
|
||||
import { ResultHighlight } from '@backstage/plugin-search-common';
|
||||
import { HighlightedSearchResultText } from '@backstage/plugin-search-react';
|
||||
|
||||
/**
|
||||
* Props for {@link StackOverflowSearchResultListItem}
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export type StackOverflowSearchResultListItemProps = {
|
||||
result?: any; // TODO(emmaindal): type to StackOverflowDocument.
|
||||
icon?: React.ReactNode;
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export { StackOverflowSearchResultListItem } from './StackOverflowSearchResultListItem';
|
||||
export type { StackOverflowSearchResultListItemProps } from './StackOverflowSearchResultListItem';
|
||||
|
||||
Reference in New Issue
Block a user