fix incorrect typings for TracerOptions interface

This commit is contained in:
dominikeinkemmer
2018-11-04 15:37:46 +09:00
committed by Dominik Einkemmer
parent 6b26866504
commit 75cdefc895
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ tracer.init({
debug: msg => {},
error: err => {},
},
tags: { tracerEnv: 'dev'}
});
function useWebFrameworkPlugin(plugin: "express" | "hapi" | "koa" | "restify") {
+5
View File
@@ -110,6 +110,11 @@ interface TracerOptions {
debug: (message: string) => void;
error: (err: Error) => void;
};
/**
* Global tags that should be assigned to every span.
*/
tags?: { [key: string]: any };
}
interface ExperimentalOptions {}