0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

TypeScriptを基本からまとめてみた【6】【Interface】

Last updated at Posted at 2022-05-23

インターフェイスとは

オブジェクトがどんな形のものか定義するためのもの

sample1.ts
//インターフェイスを作るには『interface』を作成する
//※このキーワードはJavaScriptには存在せず、TypeScript しか存在しない

interface Person {
   name:string;

}


参考サイト

【世界で7万人が受講】Understanding TypeScript 日本語版

超TypeScript入門 完全パック

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?