2020-07-17から1日間の記事一覧
はじめに 前回のTypeScriptのinterfaceの勉強の続き px-wing.hatenablog.com readonly修飾子 implementsしているClass側ではreadonlyは無視することが出来る。 interface Personal { readonly name: string; age: number; greeting(message: string): void; …
はじめに 前回のTypeScriptのinterfaceの勉強の続き px-wing.hatenablog.com readonly修飾子 implementsしているClass側ではreadonlyは無視することが出来る。 interface Personal { readonly name: string; age: number; greeting(message: string): void; …