Skip to content

Instantly share code, notes, and snippets.

View cp's full-sized avatar
:shipit:

Colby Aley cp

:shipit:
View GitHub Profile
@holman
holman / example.png
Created November 5, 2014 05:35
A quick Hubot script to display Uber surge pricing from a particular point (LIKE AN OFFICE).
example.png
// import { ERROR_API_MIDDLEWARE } from '../constants/actions';
import { IAppState } from '../stateTypes';
import { Middleware, Dispatch } from 'redux';
/**
* Middleware that wraps `redux-pack` so that we may provide an API client factory
*/
type Client = any;
type CreateClient = (
dispatch: Dispatch<IAppState>,