Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Support union types #18

Open
jgiles opened this issue Jul 26, 2014 · 2 comments
Open

Support union types #18

jgiles opened this issue Jul 26, 2014 · 2 comments

Comments

@jgiles
Copy link
Contributor

jgiles commented Jul 26, 2014

Example:

/** @type {(MyClass|YourClass)} */
var union;
union; //: (MyClass|YourClass)

More importantly, we want proper autocompletion of properties on all types in the union.

@MetaMemoryT
Copy link
Contributor

I have created 2 pull requests: #34 ternjs/tern#405

@angelozerr
Copy link
Contributor

tern 0.13.0 should support now this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants