-
-
Notifications
You must be signed in to change notification settings - Fork 736
Document imported types #516
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
Comments
👍 for this |
In 0.20, TypeDoc will document whatever you export. Changing the code to: import {Maybe} from "maybe.ts"
export * as MaybeTS from "maybe.ts"
export const toMaybe =
<x, a>(result: Result<x, a>): Maybe<a> =>
result.isOk ? result.value : null
export type Result<x, a> = { isOk: true, value: a } | { isOk: false, err: x } Will result in documentation like this, with links going where you would expect: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Right now if I have code like this:
typedoc generates docs such that
Maybe<a>
is completely undocumented.It would be great to have an option to either generate docs for imports as well or alternatively have a way to provide external links.
The text was updated successfully, but these errors were encountered: