Skip to content

Tern does not infer types through promises. #486

@mseddon

Description

@mseddon

Using either Promise or Q, tern fails to infer the type of the success handler arguments. I wouldn't say this is a limitation of the tern type inferencer, but it seems like a good candidate for a plugin. Before I look too far into implementing one I was wondering:

a) does such a plugin exist?
b) is this possible with a plugin?
c) how much pain would be involved implementing such a plugin?

And perhaps, more abstractly:
d) is there a central location where developers contribute their tern plugins?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions