mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
Export action interfaces
Exporting the actions helps with casting/signatures when crafting reducers.
This commit is contained in:
Vendored
+2
-2
@@ -12,13 +12,13 @@ declare namespace ReduxActions {
|
||||
type: string
|
||||
}
|
||||
|
||||
interface Action<Payload> extends BaseAction {
|
||||
export interface Action<Payload> extends BaseAction {
|
||||
payload?: Payload
|
||||
error?: boolean
|
||||
meta?: any
|
||||
}
|
||||
|
||||
interface ActionMeta<Payload, Meta> extends Action<Payload> {
|
||||
export interface ActionMeta<Payload, Meta> extends Action<Payload> {
|
||||
meta: Meta
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user