Skip to content

Use qualified names when @within is omitted #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

EliTheGingerCat
Copy link
Contributor

Allows for skipping @within by including the class name in the tag text.

--- @prop QualifiedNames.prop number

The code checks for the first dot (.), so this is legal:

--- @prop QualifiedNames.lots.of.dots number
   "name": "lots.of.dots"

I decided to support @type and @interface too because it made implementation easier. This renders DEPENDENT_TAGS empty, but I think it is good to keep for the future.

I also sneaked in a bug fix for empty interfaces since I used one for the test and I like to preview tests on the website.

I think there should be some mention of this on the website, but right now inference is kind of all over the place, so maybe there could be a new heading detailing exactly what is inferred?

Closes #5

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

Successfully merging this pull request may close these issues.

Use qualified names in function / prop names to allow omission of @within tag
1 participant