From 66dcc27e28abe01ba9cc9e758ddc2a7d36b22b6e Mon Sep 17 00:00:00 2001 From: Isaac Parker <58576757+isaacparker2@users.noreply.github.com> Date: Tue, 20 Oct 2020 12:23:55 -0400 Subject: [PATCH] fix: supportMark accepts ExtendedChannel (#6982) --- src/channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channel.ts b/src/channel.ts index 8c1f7a3b80..64937e1b63 100644 --- a/src/channel.ts +++ b/src/channel.ts @@ -450,7 +450,7 @@ export type SupportedMark = Partial>; * @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]; }