From 70491903e80546d6326628e97d0e924771a3129e Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 26 Feb 2024 11:11:54 -0600 Subject: [PATCH] chore: update .prettierignore, format file --- .prettierignore | 2 +- src/types/client.ts | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.prettierignore b/.prettierignore index c9a6aa80b..0543030ea 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,4 +2,4 @@ dist coverage docs tmp -build/rollup-plugin-resolve-extensions/index.js +.yarn diff --git a/src/types/client.ts b/src/types/client.ts index 8adb9c599..cbff6bcbd 100644 --- a/src/types/client.ts +++ b/src/types/client.ts @@ -1,8 +1,7 @@ import type Client from '../Client' import type { ContentCodec } from '../MessageContent' -export type GetMessageContentTypeFromClient = C extends Client - ? T - : never +export type GetMessageContentTypeFromClient = + C extends Client ? T : never export type ExtractDecodedType = C extends ContentCodec ? T : never