Skip to content

typescript type arguments are only supported as type in <const> / <let> #2992

@yukulele

Description

@yukulele

Marko Version

6.0.120

Details

I use type arguments on init value of a <let/*> element:

<let/myMap=new Map<string, number>()>

Expected Behavior

get the same behaviors as:

<let/myMap:Map<string, number>=new Map()>

Actual Behavior

Marko is unable to parse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:unverified bugA bug report that has not been verified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions