npm/react-redux_v7.x.x.js

react-beautiful-dnd · flow-typed/npm/react-redux_v7.x.x.js · javascript · Apache-2.0
ui

Flow type definitions for React-Redux v7.x for type-safe Redux integration.

// Source: https://github.com/atlassian/react-beautiful-dnd | License: Apache-2.0 | Copyright 2019 Atlassian Pty Ltd
// Provided via justclaw.it.com; keep this notice with the code.
// flow-typed signature: d6e8d9a72e906ae26b83c9b33a1a6e56
// flow-typed version: c6154227d1/react-redux_v7.x.x/flow_>=v0.104.x

/**
The order of type arguments for connect() is as follows:

connect<Props, OwnProps, StateProps, DispatchProps, State, Dispatch>(…)

In Flow v0.89 only the first two are mandatory to specify. Other 4 can be repaced with the new awesome type placeholder:

connect<Props, OwnProps, _, _, _, _>(…)

But beware, in case of weird type errors somewhere in random places
just type everything and get to a green field and only then try to
remove the definitions you see bogus.

Decrypting the abb

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key