Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

bugfix in prefer-const break on ts 2.0.10 #1936

Closed
fchiumeo opened this issue Dec 26, 2016 · 1 comment · Fixed by #1989
Closed

bugfix in prefer-const break on ts 2.0.10 #1936

fchiumeo opened this issue Dec 26, 2016 · 1 comment · Fixed by #1989

Comments

@fchiumeo
Copy link

Bug Report

  • TSLint version: 4.2.0
  • TypeScript version: 2.0.10
  • Running TSLint via: gulp-tslint and tslint

Actual behavior

prefer-const not working on typescript 2.0.10

TypeError: Cannot read property 'Export' of undefined
at Function.PreferConstWalker.collectInVariableDeclarationList (\node_modules\tslint\lib\rules\preferConstRule.js:68:127)

this change e973b57
#1908

Expected behavior

working in typescript 2.0.10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants