eslint / typescript-eslint-parser

An ESLint custom parser which leverages TypeScript ESTree to allow for ESLint to lint TypeScript source code.
Other
915 stars 92 forks source link

Fix: scope for TSImportEqualsDeclaration #571

Closed armano2 closed 5 years ago

armano2 commented 5 years ago

Import equal should declare "ImportBinding" variable in scope.

example:

import foo = require('bar')

https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require

this PR fixes ticket #555