Skip to content

Commit 819ec60

Browse files
committed
Stop exporting component State types
1 parent 123b5ea commit 819ec60

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

ui/frontend/reducers/browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const initialState: State = {
44
isSmall: true,
55
};
66

7-
export type State = {
7+
type State = {
88
isSmall: boolean;
99
};
1010

ui/frontend/reducers/configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
ProcessAssembly,
1717
} from '../types';
1818

19-
export interface State {
19+
interface State {
2020
editor: Editor;
2121
ace: {
2222
keybinding: string;

ui/frontend/reducers/crates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const sliceName = 'crates';
99

1010
const initialState: State = [];
1111

12-
export type State = Crate[];
12+
type State = Crate[];
1313

1414
const CratesResponse = z.object({
1515
crates: Crate.array(),

ui/frontend/reducers/output/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,4 @@ const output = combineReducers({
2828
gist,
2929
});
3030

31-
export type State = ReturnType<typeof output>;
32-
3331
export default output;

ui/frontend/reducers/websocket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import z from 'zod';
33

44
import { createWebsocketResponseSchema, makeWebSocketMeta } from '../websocketActions';
55

6-
export type State = {
6+
type State = {
77
connected: boolean;
88
error?: string;
99
};

0 commit comments

Comments
 (0)