DittoConfig: fix missing return type of .external()

This commit is contained in:
Alex Gleason 2025-02-15 17:02:53 -06:00
parent a2f273287d
commit 9bfc7e6fe3
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -75,7 +75,7 @@ export class DittoConfig {
}
/** Get a link to a nip19-encoded entity in the configured external viewer. */
external(path: string) {
external(path: string): string {
return new URL(path, this.externalDomain).toString();
}