questions/00527-medium-append-to-object/README.ja.md
インターフェースに新しいフィールドを追加する型を実装します。この型は、3 つの引数を受け取り、新しいフィールドを持つオブジェクトを出力しなければなりません。
例えば、
type Test = { id: '1' };
type Result = AppendToObject<Test, 'value', 4>; // expected to be { id: '1', value: 4 }
<a href="../../README.ja.md" target="_blank"></a> <a href="https://tsch.js.org/527/answer/ja" target="_blank"></a> <a href="https://tsch.js.org/527/solutions" target="_blank"></a> <!--info-footer-end-->