Closed
Description
TypeScript Version: 2.4.2
Code
/// <reference types="mocha" />
Expected behavior:
Types from mocha are only available to the test ts file that include this triple-slash reference.
Actual behavior:
Types from mocha are available to all the ts files in the project, including both prod code and test code.
This is unexpected. How do we prevent Mocha test types from accidentally getting into prod code?