Type Challenges Judge

Merge

提出詳細

type Merge<T, K> = T & K
提出日時2024-10-28 18:27:47
問題Merge
ユーザーbalckowl
ステータスWrong Answer
テストケース
import type { Equal, Expect } from '@type-challenges/utils' type Foo = { a: number b: string } type Bar = { b: number c: boolean } type cases = [ Expect<Equal<Merge<Foo, Bar>, { a: number b: number c: boolean }>>, ]