Skip to content

Treat tagged template literal as a function call expression #32

@getify

Description

@getify
function foo(x = number) {
   return true;
}

var x = foo`world`;

foo`world` should be validated as a call-expression, including both the template-literal (`world`) being validated as the first argument, as well as the return value type being implied to x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions