Skip to content
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

Not getting jsdoc from declarations #16

Closed
mxsdev opened this issue Nov 9, 2022 · 0 comments
Closed

Not getting jsdoc from declarations #16

mxsdev opened this issue Nov 9, 2022 · 0 comments
Labels
api Relating to the API bug Something isn't working
Milestone

Comments

@mxsdev
Copy link
Owner

mxsdev commented Nov 9, 2022

For symbols defined with declare, the declaration is not included as a location, which prevents us from retrieving the jsdoc. For example, in the following, Button (which is defined with declare) will have no jsdoc.

import React from "react"
import { Button } from "@mui/material"

export const Component: React.FunctionComponent = () => (
    <Button>Button</Button>
)
@mxsdev mxsdev added bug Something isn't working api Relating to the API labels Nov 9, 2022
@mxsdev mxsdev added this to the 1.0.0 milestone Nov 9, 2022
@mxsdev mxsdev closed this as completed in 4d6640f Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Relating to the API bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant