型推論
変数の定義(Variable Definition)
let foo = 123; // foo is a `number`
let bar = "Hello"; // bar is a `string`
foo = bar; // Error: cannot assign `string` to a `number`関数の戻り値の型(Function Return Types)
function add(a: number, b: number) {
return a + b;
}代入(Assignment)
構造化(Structuring)
分解(Destructuring)
Type Guard (Type Guards)
警告(Warnings)
パラメータに注意してください
returnに注意してください
noImplicitAny
noImplicitAny最終更新