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.

No support for lookup types #559

@smashercosmo

Description

@smashercosmo

What version of TypeScript are you using?
v3.1.6

What version of typescript-eslint-parser are you using?
v21.0.1

What code were you trying to parse?

type Hello = {
  hi: string,
}

type Foo = {
  bar: Hello['hi'],
}

What did you expect to happen?
No errors

What happened?

SyntaxError: Unexpected token, expected "]"

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