Skip to content

Instantly share code, notes, and snippets.

@occasl
occasl / newrelic-browser.d.ts
Created October 2, 2017 12:35 — forked from piotrkubisa/newrelic-browser.d.ts
TypeScript declaration file with the NewRelic Browser typings.
// Type definitions for NewRelicBrowser v1026
// Project: https://docs.newrelic.com/docs/browser/new-relic-browser/browser-agent-spa-api
// Definitions by: Piotr Kubisa <https://gist.github.com/piotrkubisa/4a1cc7355afcec46651a896d59ec8d50>
declare var newrelic: NewRelicBrowser;
interface NewRelicBrowser {
addPageAction(name: string, attributes: any): void;
addRelease(release_name: string, release_id: string): void;
addToTrace(custom_object: any): void;
@occasl
occasl / newrelic-browser.d.ts
Created October 2, 2017 12:36 — forked from piotrkubisa/newrelic-browser.d.ts
TypeScript declaration file with the NewRelic Browser typings.
// Type definitions for NewRelicBrowser v1026
// Project: https://docs.newrelic.com/docs/browser/new-relic-browser/browser-agent-spa-api
// Definitions by: Piotr Kubisa <https://gist.github.com/piotrkubisa/4a1cc7355afcec46651a896d59ec8d50>
declare var newrelic: NewRelicBrowser;
interface NewRelicBrowser {
addPageAction(name: string, attributes: any): void;
addRelease(release_name: string, release_id: string): void;
addToTrace(custom_object: any): void;