Skip to content

Commit 2595a08

Browse files
committed
Fix some tests for new Profile shape
1 parent 5cc7799 commit 2595a08

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

integration-tests/lts/interfaces.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface test_Profile extends BaseObject {
4545
a?: string | null;
4646
b?: string | null;
4747
c?: string | null;
48+
d?: unknown | null;
4849
}
4950
interface test_Z extends BaseObject {
5051
xy?: W | X | Y | null;

integration-tests/lts/update.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,10 @@ describe("update", () => {
303303
test("exclude readonly props", () => {
304304
type updateProfileShape = UpdateShape<(typeof e)["Profile"]>;
305305
tc.assert<
306-
tc.IsExact<keyof updateProfileShape, "plot_summary" | "a" | "b" | "c">
306+
tc.IsExact<
307+
keyof updateProfileShape,
308+
"plot_summary" | "a" | "b" | "c" | "d"
309+
>
307310
>(true);
308311
});
309312

0 commit comments

Comments
 (0)