type Dec = Record<number, never> & [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
type A = Dec[12]
type Overload<T extends Signature[]> = {
[K in number & keyof T]: (...args: Args<T[K]>) => Return<T[K]>
}
type Args = any[] & {
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2017-07-02T02:01:08.109Z","extensionVersion":"v2.8.1"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { PropTypes as t } from 'react' | |
var inject = (selector = pass => pass ) => | |
connect( | |
({ pass }) => selector(pass), | |
{ pass: t.object } | |
) | |
var Context = Object.assign( | |
({ children, ...props }, { pass = {} }) => |
NewerOlder