Skip to content

Commit d772f41

Browse files
octogonzrbuckton
andauthored
Apply suggestions from code review
Co-Authored-By: Ron Buckton <ron.buckton@microsoft.com>
1 parent aaf4d13 commit d772f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api-extractor-model/src/model/ApiPackage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,6 @@ export class ApiPackage extends ApiItemContainerMixin(ApiNameMixin(ApiDocumented
207207

208208
/** @beta @override */
209209
public buildCanonicalReference(): DeclarationReference {
210-
return new DeclarationReference(new ModuleSource(this.name));
210+
return DeclarationReference.module(this.name);
211211
}
212212
}

0 commit comments

Comments
 (0)