rules require type information
Closed this issue · 2 comments
jh0l commented
When TSLint runs, I get the following in tslint output
Warning: The 'await-promise' rule requires type information.
Warning: The 'no-floating-promises' rule requires type information.
Warning: The 'no-inferred-empty-object-type' rule requires type information.
Warning: The 'restrict-plus-operands' rule requires type information.
Warning: The 'no-accessor-field-mismatch' rule requires type information.
Warning: The 'no-collection-size-mischeck' rule requires type information.
Warning: The 'no-dead-store' rule requires type information.
Warning: The 'no-element-overwrite' rule requires type information.
Warning: The 'no-gratuitous-expressions' rule requires type information.
Warning: The 'no-ignored-return' rule requires type information.
Warning: The 'no-self-assignment' rule requires type information.
Warning: The 'no-unused-array' rule requires type information.
Warning: The 'no-useless-cast' rule requires type information.
Warning: The 'no-variable-usage-before-declaration' rule requires type information.
How did you manage to solve this problem?
krzkaczor commented
@jh0l are you positive that you run latest tslint
version?
Anyway, you need to provide --project
flag and you should be fine. Check it out here:
https://github.com/krzkaczor/TypeChain/blob/master/package.json#L63
jh0l commented
Wow that worked thanks!