Bring back typedoc

This commit is contained in:
Jon Staab
2025-04-08 15:08:00 -07:00
parent 02202d298e
commit 3301616e7d
19 changed files with 261 additions and 135 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# @welshman/store [![version](https://badgen.net/npm/v/@welshman/store)](https://npmjs.com/package/@welshman/store)
# @welshman/app [![version](https://badgen.net/npm/v/@welshman/app)](https://npmjs.com/package/@welshman/app)
Utilities for dealing with svelte stores when using welshman.
+1 -1
View File
@@ -179,7 +179,7 @@ describe("collection", () => {
getKey: item => item.id,
})
const derived = col.deriveItem(null)
const derived = col.deriveItem(undefined)
expect(get(derived)).toBeUndefined()
})
+2 -2
View File
@@ -1,5 +1,5 @@
import {now} from "@welshman/lib"
import {publish, PublishStatus, MockAdapter} from "@welshman/net"
import {PublishStatus, MockAdapter} from "@welshman/net"
import {NOTE, makeEvent} from "@welshman/util"
import {Nip01Signer} from "@welshman/signer"
import {LOCAL_RELAY_URL} from "@welshman/relay"
@@ -112,7 +112,7 @@ describe("thunk", () => {
const send = vi.fn()
const track = vi.spyOn(tracker, 'track')
const thunk = makeThunk(mockRequest)
let status = {}
let status: Record<string, any> = {}
// Subscribe to status updates
thunk.status.subscribe(_status => {