diff --git a/index.ts b/index.ts index 919b901..a353c40 100644 --- a/index.ts +++ b/index.ts @@ -159,12 +159,6 @@ export class Decoder implements ICaster { } /** @since 1.7.0 */ - decode(typeName: string, data: unknown, onError?: (errors: string[]) => void): T | undefined; - decode( - genericType: GenericType, - data: unknown, - onError?: (errors: string[]) => void, - ): T | undefined; decode( typeArg: string | GenericType, data: unknown,