* Seems like the error callback is malformatted
New to typescript, but it complains on my cb function since it expects an error argument and doesn't return an object.
I proposed these changes, but haven't done any typescripting really (trying to migrate to TS), so feel free to deny this PR if it's wrong.
I did check with the source code in ws before suggesting this though.
* Updated argument with an optional any type
* Adding type definitions for jdenticon version 1.3.2.
* Updated import statement in test.
* Another attempt, as I presumably misunderstood @vvakame's tip.
* Add definition for deku
* Add deku/tsconfig.json
* Replace Action to any
* Fix test
* Fix exporting
* Rename deku.d.ts -> index.d.ts
* Remove unnecessary reference
* Change to more specific type
* Add private type: Dispatch
* dispatch: Function -> dispatch: Dispatch
* Remove duplicated overloading
* More specific type for createThunkElement
* Fix version
* Change interface Actions -> class Actions
* interface -> class
* Change return type of deku.diff.Actions.case
* Update test
* Change parameter type of deku.dom.update
* dispatch: Function -> dispatch: Dispatch
This allows passing children to `StatelessComponent<P>` exactly like base components without the need to use React.Props<T> or extending the P interface with an explicit 'children' property:
# Before
````typescript
type FooProps = {
bar: number;
}
const Foo: React.SFC<FooProps> = props => (
<div>
{props.children} = {props.bar} // error TS2459: Type 'FooProps' has no property 'children' and no string index signature.
</div>
);
````
# After
````typescript
type FooProps = {
bar: number;
}
const Foo: React.SFC<FooProps> = props => (
<div>
{props.children} = {props.bar}
</div>
);
<Foo bar="42">6×9</Foo> // <div>6×9 = 42</div>
````
* adding angular clipboard
* adding tests
* fixing unit tests
* Update angular-clipboard-tests.ts
triggering build
* adhering to the no interface I convention
* just using a module now
* strictNullChecks: true, and removing declare module
* [Yargs] Allow Command modules to be passed into command fn
* [yargs] Remove I prefix in CommandModule
* [Yargs] Replace Array<> with string[]
* Make builder, command, describe optional; Handle (c, d, m) command signature