Skip to content

Commit

Permalink
no need to add overloading
Browse files Browse the repository at this point in the history
  • Loading branch information
robturtle committed Dec 9, 2019
1 parent 602b54e commit 73cee2d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,6 @@ export class Decoder implements ICaster {
}

/** @since 1.7.0 */
decode<T>(typeName: string, data: unknown, onError?: (errors: string[]) => void): T | undefined;
decode<T>(
genericType: GenericType,
data: unknown,
onError?: (errors: string[]) => void,
): T | undefined;
decode<T>(
typeArg: string | GenericType,
data: unknown,
Expand Down

0 comments on commit 73cee2d

Please sign in to comment.