mirror of
https://github.com/hanzoai/ts-node.git
synced 2026-10-30 19:36:25 +00:00
* results of lint-fix * Remove tslint:disable comments * re-run lint-fix after removing tslint:disable comments
8 lines
228 B
TypeScript
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;
|