DefinitelyTyped/types/react-tracking
drbalm dbb68e24c7 fix(react-tracking): Allow tracking info function to return Falsy value (#40916)
* Accepting `Falsy` in TrackingInfo fn return

Fixing `TrackingInfo` type so that function can return a `Falsy` value as described in react-tracking documentation.

* Adding test case

Adding a track function that optionally returns a payload and otherwise returns `Falsy` to verify changes.

* Update react-tracking-without-types-tests.tsx

Adding test case to test function passed to track annotation that optionally returns a payload and otherwise `Falsy` in react-tracking-without-types-tests.tsx

* Removing typing from "without types" test file
2019-12-17 18:06:51 -08:00
..
test
index.d.ts
tsconfig.json
tslint.json