Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Problem with Interfaces #75

Closed
Closed
@gaurav21r

Description

@gaurav21r

What version of TypeScript are you using? 1.8.10

What version of typescript-eslint-parser are you using? 0.2.0

What code were you trying to parse?

interface Iwhen {
  (config: Object, thenFunc: Function): any,
  _eventHandlers: Object,
  _attributeHandlers: Array <Object>,
  _propertyListeners: Array <Object>,
  _mutationObserver: MutationObserver
}

.eslintrc

{
  "extends": "airbnb",
  "parser": "typescript-eslint-parser"
}

What did you expect to happen?
From what I could gather from #74 , I should be able to get Linted with no Errors

What happened?

  1:11  error  'Iwhen' is not defined               no-undef
  3:4   error  'config' is not defined              no-undef
  3:20  error  'thenFunc' is not defined            no-undef
  4:3   error  '_eventHandlers' is not defined      no-undef
  5:3   error  '_attributeHandlers' is not defined  no-undef
  6:3   error  '_propertyListeners' is not defined  no-undef
  7:3   error  '_mutationObserver' is not defined   no-undef
  7:22  error  'MutationObserver' is not defined    no-undef

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions