diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-08-30 15:19:26 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-08-30 15:19:26 +0100 |
| commit | 58788b5e549ac31f714074928691fc2ec776c20b (patch) | |
| tree | 6da490ed350b0ea07f27e30abf33261cc20911b4 /examples/01-struct | |
| parent | 119324389887cf76e7e0f52bcb9c1067ede463d4 (diff) | |
Support generic structs in typescript-types
Diffstat (limited to 'examples/01-struct')
| -rw-r--r-- | examples/01-struct/output/typescript/src/point.test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/01-struct/output/typescript/src/point.test.ts b/examples/01-struct/output/typescript/src/point.test.ts index 490002e..911078b 100644 --- a/examples/01-struct/output/typescript/src/point.test.ts +++ b/examples/01-struct/output/typescript/src/point.test.ts @@ -1,4 +1,4 @@ -import {strictEqual} from "node:assert"; +import * as assert from "node:assert"; import {test} from "mocha"; @@ -8,6 +8,6 @@ test("pointFields", () => { const point = new Point(10, 25); const x: number = point.x; const y: number = point.y; - strictEqual(x, 10); - strictEqual(y, 25); + assert.strictEqual(x, 10); + assert.strictEqual(y, 25); }); |
