mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
* [types/react-tracking] Fix TrackingInfo async repsonse In https://github.com/nytimes/react-tracking#advanced-usage, it is specified: > When tracking asynchronous methods, you can also receive the resolved or rejected data from the returned promise in the fourth argument of the function passed in for tracking: > ```js > @track((props, state, methodArgs, [{ value }, err]) => { > // ... > }) > ``` This fixes the type to allow that. * [types/react-tracking] added tests # Conflicts: # types/react-tracking/index.d.ts |
||
|---|---|---|
| .. | ||
| test | ||
| index.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||