({ actual }: ParseResult.ParseIssue)
| 95 | |
| 96 | it("parseIssueTitle", async () => { |
| 97 | const getOrderId = ({ actual }: ParseResult.ParseIssue) => { |
| 98 | if (S.is(S.Struct({ id: S.Number }))(actual)) { |
| 99 | return `Order with ID ${actual.id}` |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | const Order = S.Struct({ |
| 104 | id: S.Number, |