From 4ff825021d4145b1763cfe16f50c075749ffa615 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sun, 9 Oct 2022 14:28:53 -0500 Subject: [PATCH] Re-export types referenced by other packages (#1243) * Re-export StylingFunction type * Re-export Base16Theme type from base16 --- packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx | 2 +- packages/redux-devtools-inspector-monitor/src/index.ts | 1 + packages/redux-devtools-ui/src/index.ts | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx b/packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx index 5fbf4f3c..0d28d107 100644 --- a/packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx +++ b/packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import { Base16Theme } from 'redux-devtools-themes'; import { Action } from 'redux'; -import { StylingFunction } from 'react-base16-styling'; +import type { StylingFunction } from 'react-base16-styling'; import { PerformAction } from '@redux-devtools/core'; import { Delta } from 'jsondiffpatch'; import { DEFAULT_STATE, DevtoolsInspectorState } from './redux'; diff --git a/packages/redux-devtools-inspector-monitor/src/index.ts b/packages/redux-devtools-inspector-monitor/src/index.ts index 0b0cd949..2861d4e5 100644 --- a/packages/redux-devtools-inspector-monitor/src/index.ts +++ b/packages/redux-devtools-inspector-monitor/src/index.ts @@ -1,3 +1,4 @@ +export type { StylingFunction } from 'react-base16-styling'; export { default as InspectorMonitor } from './DevtoolsInspector'; export type { Tab, TabComponentProps } from './ActionPreview'; export type { DevtoolsInspectorState } from './redux'; diff --git a/packages/redux-devtools-ui/src/index.ts b/packages/redux-devtools-ui/src/index.ts index fdfad8bd..58b36732 100644 --- a/packages/redux-devtools-ui/src/index.ts +++ b/packages/redux-devtools-ui/src/index.ts @@ -1,3 +1,5 @@ +export type { Base16Theme } from 'base16'; + export { default as Container } from './Container'; export { default as Button } from './Button'; export { default as ContextMenu } from './ContextMenu';