Skip to content

Function expressions should check for JSDoc #7988

Closed
@DanielRosenwasser

Description

@DanielRosenwasser

See #4142 (comment).

Currently, it appears that there's no way to give types to the parameters of an IIFE.

Activity

DanielRosenwasser

DanielRosenwasser commented on Apr 9, 2016

@DanielRosenwasser
MemberAuthor

Also related is #5158.

added
DuplicateAn existing issue was already created
and removed
BugA bug in TypeScript
on Apr 9, 2016
DanielRosenwasser

DanielRosenwasser commented on Apr 9, 2016

@DanielRosenwasser
MemberAuthor

Never mind, there is #7533 and there is a way to type these parameters. Unfortunately you need the line break because of how trivia seems to work.

locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @DanielRosenwasser

        Issue actions

          Function expressions should check for JSDoc · Issue #7988 · microsoft/TypeScript