You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ark/attest/CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,22 @@
2
2
3
3
NOTE: This changelog is incomplete, but will include notable attest-specific changes (many updates consist almost entirely of bumped `arktype` versions for assertions).
4
4
5
+
## 0.44.0
6
+
7
+
Support assertions for JSDoc contents associated with an `attest`ed value
8
+
9
+
```ts
10
+
const t =type({
11
+
/** FOO */
12
+
foo: "string"
13
+
})
14
+
15
+
const out =t.assert({ foo: "foo" })
16
+
17
+
// match or snapshot expected jsdoc associated with the value passed to attest
18
+
attest(out.foo).jsdoc.snap("FOO")
19
+
```
20
+
5
21
## 0.41.0
6
22
7
23
### Bail early for obviously incorrect `equals` comparisons
0 commit comments