132 строки
8.1 KiB
Plaintext
132 строки
8.1 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
export type bindActionsToPayloadReturns = <A, M extends ActionCreatorsMapObject<A>>(
|
|
actionCreators: M,
|
|
dispatch: Dispatch
|
|
) => ActionsWithPromises<M>;
|
|
|
|
export const bindActions = bindActionCreators as bindActionsToPayloadReturns;
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>export type bindActionsToPayloadReturns = <A, M extends ActionCreatorsMapObject<A>>(
|
|
^^^^^^
|
|
source.ts meta.type.declaration.ts keyword.control.export.ts
|
|
^
|
|
source.ts meta.type.declaration.ts
|
|
^^^^
|
|
source.ts meta.type.declaration.ts storage.type.type.ts
|
|
^
|
|
source.ts meta.type.declaration.ts
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
source.ts meta.type.declaration.ts entity.name.type.alias.ts
|
|
^
|
|
source.ts meta.type.declaration.ts
|
|
^
|
|
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
|
|
^
|
|
source.ts meta.type.declaration.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts punctuation.separator.comma.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts
|
|
^^^^^^^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts storage.modifier.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts meta.type.parameters.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts meta.brace.round.ts
|
|
> actionCreators: M,
|
|
^^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts
|
|
^^^^^^^^^^^^^^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts meta.type.annotation.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts meta.type.annotation.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts punctuation.separator.parameter.ts
|
|
> dispatch: Dispatch
|
|
^^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts
|
|
^^^^^^^^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts meta.type.annotation.ts
|
|
^^^^^^^^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts meta.type.annotation.ts entity.name.type.ts
|
|
>) => ActionsWithPromises<M>;
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.paren.cover.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.type.declaration.ts
|
|
^^
|
|
source.ts meta.type.declaration.ts meta.type.function.return.ts storage.type.function.arrow.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.function.return.ts
|
|
^^^^^^^^^^^^^^^^^^^
|
|
source.ts meta.type.declaration.ts meta.type.function.return.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.function.return.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.function.return.ts meta.type.parameters.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.type.function.return.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts
|
|
>
|
|
^
|
|
source.ts
|
|
>export const bindActions = bindActionCreators as bindActionsToPayloadReturns;
|
|
^^^^^^
|
|
source.ts meta.var.expr.ts keyword.control.export.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts storage.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.constant.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
^
|
|
source.ts meta.var.expr.ts keyword.operator.assignment.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^^^^^^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts variable.other.readwrite.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^
|
|
source.ts meta.var.expr.ts keyword.control.as.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts entity.name.type.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts |