denoland / docland

The documentation generation website for Deno
https://doc.deno.land
MIT License
119 stars 29 forks source link

Links to aliased types don't work #187

Open oscarotero opened 1 year ago

oscarotero commented 1 year ago

This module has the Options interface with a property of type MinifyOptions: https://doc.deno.land/https://deno.land/x/lume@v1.11.0/plugins/minify_html.ts/~/Options

The link MinifyOptions returns a not-found error: https://doc.deno.land/https://deno.land/x/lume@v1.11.0/deps/minify_html.ts/~/MinifyOptions

This is because the interface was imported with an alias. If you see the code it is imported in this way:

import type { Options as MinifyOptions } from "../deps/minify_html.ts";

So the link must use the original name not the alias. In this case is https://doc.deno.land/https://deno.land/x/lume@v1.11.0/deps/minify_html.ts/~/Options