
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Overriding interface property type defined in Typescript d.ts file
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Overriding interface property type defined in Typescript d.ts file
Is there a way to change the type of interface property defined in a *.d.ts in typescript? for ex... Is there a way to change the type of interface property defined in a *.d.ts in typescript? for example: An interface in x.d.ts is defined as interface A { property: number; } I want to change it in the typescript files that I write to interface A { property: Object; } or even this would work interface B extends A { property: Object; } Will this approach work? It didn't work when I tried on my syst