Skip to content

(func-style) Generics are lost when modifying from FunctionDeclaration to ArrowFunctionExpression #3

@croutonn

Description

@croutonn

Generics are lost when modifying from FunctionDeclaration to ArrowFunctionExpression.

function foo<T>() {}
// ⬇
const foo = () => {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions