zochang

<marquee>いつもJavaScriptを書いてる人</marquee>

zochang

<marquee>いつもJavaScriptを書いてる人</marquee>

記事一覧

Define type for specific property of interface in TypeScript

Sometimes, I face a case that I want to define a type for a specific property of an inte…

zochang
4年前
3
Define type for specific property of interface in TypeScript

Define type for specific property of interface in TypeScript

Sometimes, I face a case that I want to define a type for a specific property of an interface already defined in a library in TypeScript.
For instance, there's a case like below.

// an index.d.ts in

もっとみる