-
Notifications
You must be signed in to change notification settings - Fork 889
When project hasn't any ts-file, throw error #1863
Comments
@arvitaly I think there is easy fix, but unfortunately I can't reproduce your case. |
@IllusionMH Hi! |
@arvitaly thanks. This screenshots confirms my thoughts. TSLint is supposed to lint To make TSLint properly check files your |
@IllusionMH, thanks! |
I faced with this situation, when i developed types for https://github.com/DefinitelyTyped/DefinitelyTyped. |
Bug Report
My project has one d.t.s file and tslint throw error.
4.0.2
2.1.4
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
TypeError: Reduce of empty array with no initial value in \node_modules\tslint\lib\tslint-cli.js:224:6
Expected behavior
No error.
The text was updated successfully, but these errors were encountered: