jayphelps / core-decorators

Library of stage-0 JavaScript decorators (aka ES2016/ES7 decorators but not accurate) inspired by languages that come with built-ins like @​override, @​deprecate, @​autobind, @​mixin and more. Popular with React/Angular, but is framework agnostic.
MIT License
4.52k stars 263 forks source link

Educating typescript re use of `lib` in test imports #124

Open BurtHarris opened 7 years ago

BurtHarris commented 7 years ago

With PR #123 (TypeScript Beginnings) is applied and used, there's a strange and undesirable artifact in the built directory: not only does it contain the expected src and test subdirectories, but lib shows up there as well. This is a result of TypeScript processing the babel output in the root level lib directory.

Found a small change in tsconfig.json to avoid this.