"良い"TypeScriptを書くためのマインドセット

Kei
May 24, 2025
4.4k

 "良い"TypeScriptを書くためのマインドセット

Kei

May 24, 2025

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

40 slides
  1. Keisuke Yamashita SNS accounts Frontend Developer at Wix X: @kei_english_ca

    Youtube: @kei_NA Background • 高卒フリーターで カナダへ渡航 • 現地でエンジニアのキ ャリアをスタート • カナダ、アメリカで 3社を経て現在はWix にてフロントエンドの エンジニア • TS歴は6年ほど
  2. Question: 何が表示される でしょう? 1. “TS Kaigi” 2. “JS Kaigi” 3.

    Error: Cannot assign to 'name' because it is a read-only property.
  3. Question: 何が表示される でしょう? 1. “TS Kaigi” 2. “JS Kaigi” 3.

    Error: Cannot assign to 'name' because it is a read-only property.
  4. “TypeScript’s type system is structurally typed: meaning any value that

    happens to satisfy a type is allowed to be used as a value of that type. “ ”TypeScriptの型システムは 構造的型付けです。 つまり、ある値がその型の 構造を満たしていれば、そ の型の値として使用するこ とが許されます。” Josh Goldberg
  5. “TypeScript is structurally typed by design. It’s what makes it

    useful in the wild west of JavaScript.” “TypeScript が構造的型システムを採用 しているのは、意図的な設計です。 それこそが、JavaScript という “西部開拓時代”のような自由すぎる世界 で、実用的に使える理由なのです。” Anders Hejlsberg