Skip to content

mistransformation when comment is below last argument in type list #352

@matthargett

Description

@matthargett
export type Thenable<R> = {
	andThen: <U>(
		self: Thenable<R>,
		onFulfill: (R) -> () | _Thenable<U> | U,
		onReject: (error: any) -> () | _Thenable<U> | U
	-- note: need union type packs to parse () | Thenable<U>
	) -> nil | _Thenable<U>,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions