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