Skip to content

Commit

Permalink
chore: error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowplay1 committed Mar 30, 2024
1 parent 599c5b6 commit 609f597
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/structures/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ export const createTypesArray = <T>(
return `[${elements.map(element => typeOf(element))}]`
}

export type TargetParamType = 'string' | 'number' | 'array' | 'object' | `${string} class instance`
export type TargetParamType =
'string' | 'number' | 'array' |
'object' | `${string} class instance`

0 comments on commit 609f597

Please sign in to comment.