Closed christianvuerings closed 1 year ago
@matewilk would you be able to take a look?
Hey @christianvuerings,
Thanks for the PR,
I'll take a look as soon as I can, hopefully by the end of the week. I'll also include some global type definitions for the NR Browser Agent methods.
Hey @christianvuerings,
I've added the @types/newrelic
package and overrode some methods (the package is out of date as you've mentioned so it's a temp solution for the time being)
I also added types for the New Relic browser agent under /types/global.d.ts
Let me know if you need anything else before I merge.
Looks great, thank you!
Changes
Notes
@types/newrelic
but those seem outdated sincenewrelic.agent
and theallowTransactionlessInjection
option ongetBrowserTimingHeader
do not yet exist.