Skip to content

Commit 5aab6bf

Browse files
committed
ugh
1 parent b5664c5 commit 5aab6bf

File tree

1 file changed

+2
-0
lines changed
  • packages/kit/test/apps/basics/src/routes/load/serialization

1 file changed

+2
-0
lines changed

packages/kit/test/apps/basics/src/routes/load/serialization/+page.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ export async function load({ fetch, data, url }) {
77

88
// check that this doesn't mutate the original object
99
// and make the server data unserializable
10+
// @ts-expect-error
1011
data.sum = () => a + b;
1112

13+
// @ts-expect-error
1214
return { a, b, c: data.sum() };
1315
}

0 commit comments

Comments
 (0)