CATEGORY

TypeScript

  • 2020年11月7日
  • 2021年7月5日

【TypeScript入門】関数とクラスの型定義(継承と合成)

本記事では関数やクラスでのTypeScriptの型定義の方法を解説していきます。 関数の型定義 関数で型を使う場合は、引数は必ず指定する必要があります。戻り値は型推論に頼って省略も可能です。 上記の例では、引数、戻り値全てにnumber型を定義しまし […]

  • 2020年11月5日
  • 2021年7月5日

【TypeScript入門】基本的な型の定義方法

前回の記事ではTypeScriptの特徴や人気になった背景などを見ていきました。 【TypeScript入門】JavaScriptとの違いや特徴を詳しく解説 その中でTypeScriptを「型定義ができるJavaScript」と表現しましたが、今回は […]

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the compare bar
Compare
Compare ×
Let's Compare! Continue shopping