diff --git a/src/index.d.ts b/src/index.d.ts index 7e02074..93e7d6e 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,4 +1,4 @@ -export interface FluxStandardAction { +export interface FluxStandardAction { /** * The `type` of an action identifies to the consumer the nature of the action that has occurred. * Two actions with the same `type` MUST be strictly equivalent (using `===`) @@ -26,26 +26,26 @@ export interface FluxStandardAction { meta: Meta; } -export interface ErrorFluxStandardAction extends FluxStandardAction { +export interface ErrorFluxStandardAction extends FluxStandardAction { error: true; } /** * Alias for FluxStandardAction. */ -export type FSA = FluxStandardAction; +export type FSA = FluxStandardAction; /** * Alias for ErrorFluxStandardAction. */ -export type ErrorFSA = ErrorFluxStandardAction; +export type ErrorFSA = ErrorFluxStandardAction; /** * Returns `true` if `action` is FSA compliant. */ -export function isFSA(action: any): action is FluxStandardAction; +export function isFSA(action: any): action is FluxStandardAction; /** * Returns `true` if `action` is FSA compliant error. */ -export function isError(action: any): action is ErrorFluxStandardAction; +export function isError(action: any): action is ErrorFluxStandardAction;