Skip to content

TypeScript Syntax Highlighting Bug #780

Closed
@fc01

Description

@fc01
//正常的颜色
const f0 = <T extends any>(p: {
    a: string
    b: T
}) => async () => p.a + p.b


//颜色不对
const f1 = <T extends any>({ a, b }: {
    a: string
    b: T
}) => async () => a + b


//颜色不对
const f2 = <T extends any>({ a, b }: {
    a: string
    b: T
}) => async () => a + b

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions