@types/react-tracking
Advanced tools
Comparing version 5.0.4 to 6.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for react-tracking 5.0 | ||
// Type definitions for react-tracking 6.0 | ||
// Project: https://github.com/NYTimes/react-tracking | ||
@@ -61,2 +61,8 @@ // Definitions by: Eloy Durán <https://github.com/alloy> | ||
export type TrackingContext<T = any> = React.Context<{ | ||
tracking: Options<T> & { data?: {} } | ||
}>; | ||
export const ReactTrackingContext: TrackingContext; | ||
/** | ||
@@ -63,0 +69,0 @@ * This is the type of the `track` function. It’s declared as an interface so that consumers can extend the typing and |
{ | ||
"name": "@types/react-tracking", | ||
"version": "5.0.4", | ||
"version": "6.0.0", | ||
"description": "TypeScript definitions for react-tracking", | ||
@@ -24,4 +24,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "c9e5e2c5581fd0cb07b5edd4c6261b007506985894523681bd0e904f37ef04b2", | ||
"typesPublisherContentHash": "4024fdc67176cca19f7c03be1f9c90f7aa4db9f5fef3fae394a35a67cc9b42bb", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 14 May 2019 16:26:04 GMT | ||
* Last updated: Thu, 16 May 2019 09:49:41 GMT | ||
* Dependencies: @types/react | ||
@@ -14,0 +14,0 @@ * Global values: none |
6200
65