* style(linter): enable consistent-type-imports rule in typescript * chore: add biome to lint script for improved code formatting * chore: add oxlint-specific lint script for faster linting * refactor: use type-only imports for better type safety and clarity
8 lines
202 B
TypeScript
8 lines
202 B
TypeScript
import type { ReadableSpan } from '@opentelemetry/sdk-trace-base'
|
|
|
|
export interface TraceCache {
|
|
createSpan: (span: ReadableSpan) => void
|
|
endSpan: (span: ReadableSpan) => void
|
|
clear: () => void
|
|
}
|