opentelemetry-js
opentelemetry-js copied to clipboard
Remove class exports from log api/sdk
trafficstars
All public exports should be defined by their type. This prevents private class properties and methods from affecting typescript's compatibility check.
For example: the LogRecord class should not be exported, but a LogRecord type should be. Look at the other SDKs to get an idea for the style we are looking for.