Skip to content

Commit 8d1cbd4

Browse files
committed
Fix Store docs
1 parent 8c19346 commit 8d1cbd4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

node_package/src/types/index.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
import type { ReactElement, ReactNode, Component, ComponentType } from 'react';
44
import type { Readable } from 'stream';
55

6-
// Don't import redux just for the type definitions
7-
// See https://github.com/shakacode/react_on_rails/issues/1321
8-
// and https://redux.js.org/api/store for the actual API.
96
/* eslint-disable @typescript-eslint/no-explicit-any */
7+
/**
8+
* Don't import Redux just for the type definitions
9+
* See https://github.com/shakacode/react_on_rails/issues/1321
10+
* and https://redux.js.org/api/store for the actual API.
11+
* @see {import('redux').Store}
12+
*/
1013
type Store = {
1114
getState(): unknown;
1215
};

0 commit comments

Comments
 (0)