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

Doesn't respect compiler hints #53

Closed
Liamolucko opened this issue Nov 20, 2020 · 2 comments
Closed

Doesn't respect compiler hints #53

Liamolucko opened this issue Nov 20, 2020 · 2 comments

Comments

@Liamolucko
Copy link
Contributor

At the moment, deno doc doesn't respect /// <reference types="..." /> nor X-TypeScript-Types.

Example:

foo.js

/// <reference types="./foo.d.ts" />
export const foo = "foo";

foo.d.ts

export const foo: string;

Expected output of deno doc foo.js:

const foo: string

Actual:

const foo

@Liamolucko
Copy link
Contributor Author

I'm not sure if this is an issue with deno_doc or the Deno CLI, actually.

@Liamolucko
Copy link
Contributor Author

Since these compiler hints are Deno-specific, and this crate is meant to be more generic, moved to denoland/deno#8450.

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

No branches or pull requests

1 participant