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

8 lines
228 B
TypeScript

import { foo, bar } from 'external';
// `foo` has type information so this is an error
const shouldBeBoolean: boolean = foo;
// `bar` is missing type information, so this is not an error
const shouldBeBoolean2: boolean = bar;