diff --git a/test/static/readonly-optional.ts b/test/static/readonly-optional.ts index aca58d0..f51696b 100644 --- a/test/static/readonly-optional.ts +++ b/test/static/readonly-optional.ts @@ -25,4 +25,4 @@ import { Type, TSchema, TReadonlyOptional } from '@sinclair/typebox' function test(_: TReadonlyOptional) {} // @ts-expect-error test(T) -} \ No newline at end of file +} diff --git a/test/static/transform.ts b/test/static/transform.ts index e677091..a6a529e 100644 --- a/test/static/transform.ts +++ b/test/static/transform.ts @@ -214,7 +214,8 @@ import { Expect } from './assert' Expect(T).ToStaticDecode<{ x: '1' }>() Expect(T).ToStaticDecode<{ x: undefined }>() } -{ // should decode within generic function context +{ + // should decode within generic function context // https://github.com/sinclairzx81/typebox/issues/554 // prettier-ignore const ArrayOrSingle = (schema: T) =>