opentracing/opentracing-javascript

lib-debug

felixfbecker opened this issue · 1 comments

To generate the lib-debug version with TypeScript and remove the type checks from the lib version the build step would have to become a lot more complicated (probably a gulp task). Do we really need this differentiation? Imo either we should either leave the type checks in (Checking some variables with typeof shouldn't be a real performance problem) or remove them completely and let users use TypeScript if they want (compile-time) type safety.

My vote would be for "remove them completely and let users use TypeScript if they want (compile-time) type safety."