Skip to content

didn't have wran message when use bad syntax #37454

Closed
@bluelovers

Description

@bluelovers

TypeScript Version: 3.7.x-dev.201xxxxx

Search Terms:

Code

export interface IA
{
	({
		a: string // <=== bad syntax
	}): any
}

Expected behavior:

show error message

Actual behavior:

nope

Playground Link:

Related Issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions