opentracing-javascript icon indicating copy to clipboard operation
opentracing-javascript copied to clipboard

lib-debug

Open felixfbecker opened this issue 8 years ago • 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.

felixfbecker avatar Apr 05 '17 11:04 felixfbecker

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

bcronin avatar Apr 05 '17 14:04 bcronin