prettify and lint.

This commit is contained in:
fiatjaf
2023-12-16 12:39:24 -03:00
parent 0108e3b605
commit d16f3f77c3
6 changed files with 13 additions and 24 deletions

View File

@@ -13,7 +13,7 @@ export interface NostrURIMatch extends NostrURI {
}
/** Find and decode all NIP-21 URIs. */
export function * matchAll(content: string): Iterable<NostrURIMatch> {
export function* matchAll(content: string): Iterable<NostrURIMatch> {
const matches = content.matchAll(regex())
for (const match of matches) {