Files
Andrew BradleyandGitHub af46d2c981 #1231 followup: tslint to prettier: apply formatting changes, remove tslint:disable comments (#1251)
* results of lint-fix

* Remove tslint:disable comments

* re-run lint-fix after removing tslint:disable comments
2021-02-27 16:10:03 -05:00

11 lines
488 B
TypeScript

// Import as values, forcing internal classification. All files are typechecked
import { foo as a_foo, bar as a_bar } from '@scoped/a';
// Values are not used, so classification remains external. Obeys maxNodeModulesJsDepth
import { foo as b_foo, bar as b_bar } from '@scoped/b';
// We must have two .ts files, one without type errors.
// Otherwise, type errors would prevent imports from executing, so external modules would not be reclassified as internal.
a_foo;
import './other';