Skip to content

Commit 7f454ed

Browse files
fix test
1 parent 712b0a9 commit 7f454ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/router-core/tests/serializer.test-d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { describe, expectTypeOf, it } from 'vitest'
22

33
import {
44
Serializable,
5-
TSR_SERIALIZABLE,
5+
TsrSerializable,
66
ValidateSerializable,
77
ValidateSerializableResult,
88
} from '../src/ssr/serializer/transformer'
@@ -66,7 +66,7 @@ describe('Serializer', () => {
6666
})
6767

6868
it('works for types extending TsrSerializable', () => {
69-
type MyCustomType = { f: () => {} } & { [TSR_SERIALIZABLE]: true }
69+
type MyCustomType = { f: () => {} } & TsrSerializable
7070
expectTypeOf<
7171
ValidateSerializable<MyCustomType, Serializable>
7272
>().toEqualTypeOf<MyCustomType>()

0 commit comments

Comments
 (0)