8 lines
210 B
TypeScript
8 lines
210 B
TypeScript
// eslint typescript has a bug with TS enums
|
|
|
|
export type SpanId = string
|
|
|
|
export const traceGlobals: Map<any, any> = new Map()
|
|
export const setGlobal = (key: any, val: any) => {
|
|
traceGlobals.set(key, val)
|
|
}
|