Skip to content

Commit

Permalink
fix: supportMark accepts ExtendedChannel (#6982)
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Parker authored Oct 20, 2020
1 parent 76d4e07 commit 66dcc27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ export type SupportedMark = Partial<Record<Mark, 'always' | 'binned'>>;
* @param mark the mark type
* @return whether the mark supports the channel
*/
export function supportMark(channel: Channel, mark: Mark) {
export function supportMark(channel: ExtendedChannel, mark: Mark) {
return getSupportedMark(channel)[mark];
}

Expand Down

0 comments on commit 66dcc27

Please sign in to comment.