* Make react-loadable export an assignment
`react-loadable` does *not* actually have a default export. This can be shown
by running:
```
> var L = require('react-loadable')
undefined
> L
{ [Function: Loadable]
Map: [Function: LoadableMap],
Capture:
{ [Function: Capture]
propTypes: { report: [Function: bound checkType] },
childContextTypes: { loadable: [Function: bound checkType] } },
preloadAll: [Function],
preloadReady: [Function] }
```
As a result, when attempting to use this with commonjs modules, an error error
is thrown when `allowSyntheticDefaultExports` is set.
```
TypeError: react_loadable_1.default is not a function
```
This PR exports the module as an assignment, so now `import * as Loadable from
'react-loadable'` should be used to import the module.
I am not entirely sure that I have used the best pattern for typings here; but
my goal was to export the proper assignment yet still allow all of the
namespace to be accessible via `(i.e.) Loadable.LoadingComponentProps`. If there
is a better way, please let me know and I will be happy to adjust!
* Use import assignment in react-loadable tests
[WebAuthn](https://w3c.github.io/webauthn/) builds upon the Credential
Management API and provides for origin-scoped, public-key credentials.
It replaces the FIDO U2F API which is currently used to implement this.
While the webauthn spec is still only a candidate recommendation, the
types in this change are sufficient to exercise basic functionality with
Firefox Nightly. (Note: that requires changes in about:config to enable
this API.)
I remove this export to avoid the error error TS2309: An export assignment cannot be used in a module with other exported elements.
Sorry @Mohamed Hegazy that I have to change it again, I didn't get this error before when I tested.
* [joi] make return type of validate() as promise like
* [joi] update "Definitions by" section of the package header.
* [joi] test promise functionality of valdate()
* Added missing function definition for Goal 'on'.
The 'on' function is necessary to connect callback functions to events from ROS action goal 'timeout', 'status', 'feedback', 'result'.
* Increased version number after minor extension
* Changed datatype of 'end' param in to 'number'.
The end time should be also transmitted as a number in seconds like time t.
* Increased version number after minor fix.
* createServer should expect a method that returns void
Node's index.d.ts has the following type definitions for createServer
export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) =>void ): Server;
* Update index.d.ts
* Updated version in header
The previous return type of reduced caused very weak typing for the
function passed into reduce, basically allowing it to return anything
and not detecting type errors in that place.
This stricter definition of Reduced should fix that.
* [actions-on-google] Upgrade to 1.6.1
* [actions-on-google] Upgrade to 1.7
* Make TransactionValues a namespace to avoid issue with enums that can't be imported and acccessed properly
* Use SurfaceCapabilities in more places, warning about AssistantApp enums
* add method which wasn't typed
add method lastRouteResolved() which wasn't typed see in https://github.com/krasimir/navigo
* add hooks method to generic hooks which were missing in Navigo
* add genericHooks interface