Skip to content

Commit

Permalink
fix includeModule
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC committed Jan 11, 2024
1 parent 69ec8b2 commit e2ae841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function getVersion(version: string): Promise<Root | null> {
export function docsURL(version: string, type: "class" | "interface" | "enum" | "typeAlias", module: string, name: string, otherName?: string) {
let typeName: string, includeModule = true;
if (gte(version, minNewLayout)) {
includeModule = module === name;
includeModule = module !== name;
}
switch (type) {
case "class": {
Expand Down

0 comments on commit e2ae841

Please sign in to comment.