Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jun 19, 2022
1 parent e360f8c commit f5fc91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function isValidChannelType(input: string): input is ChannelType {
return !!FADER_TYPES[input as ChannelType];
}

export function optionToChannelType(input: string | number | boolean | undefined): ChannelType {
export function optionToChannelType(input: unknown): ChannelType {
if (typeof input === 'string' && isValidChannelType(input)) {
return input;
} else {
Expand Down

0 comments on commit f5fc91b

Please sign in to comment.