Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
TypeScript リテラル型について
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Kosuke Ogawa
September 18, 2020
Technology
290
1
Share
TypeScript リテラル型について
Webナイト宮崎 Vol.10 ~てげTypeScriptを学びたい~ - connpass
https://tegehoge.connpass.com/event/186724/
Kosuke Ogawa
September 18, 2020
More Decks by Kosuke Ogawa
See All by Kosuke Ogawa
PHP or die
koogawa
0
290
Nuxt.js で非同期なデータを取得するときのポイント
koogawa
0
340
Vue 入門者が日報ツールを作ってみた
koogawa
1
380
地方に住むエンジニアがこの先生きのこるには
koogawa
0
1.2k
Firestore のデータ設計について
koogawa
0
820
はじめてウェブサイトで Firebase を使ってみた
koogawa
1
470
iOSアプリ開発におけるJavaScript
koogawa
1
450
Stack Overflow活動 その後の活動報告
koogawa
1
210
「まりも」と iOS の 6年間
koogawa
4
7.5k
Other Decks in Technology
See All in Technology
AIコーディング時代における、ソフトウェアサプライチェーン攻撃に対する防衛術(簡易版)
soysoysoyb
0
160
Pure Intonation on Browser: Building a Sequencer with Ruby
nagachika
0
170
Hacobu Tech Deck
hacobu
PRO
0
130
Google Cloud Next '26 の裏でこっそりリリースされたCloud Number Registry & Cloud Hub コスト分析 を試してみた
hikaru1001
0
110
小説執筆のハーネスエンジニアリング
yoshitetsu
0
810
20260428_Product Management Summit_Loglass_JoeHirose
loglassjoe
3
4k
「AIに部下10人」を3ヶ月運用してわかった、生成AI駆動開発のリアル
yoheinabe777
0
110
Arcana: Production-Ready RAG in Elixir @ ElixirConf EU 2026
georgeguimaraes
0
120
[最強DB講義]推薦システム | 評価編
recsyslab
PRO
0
110
コミュニティ・勉強会を作るのは目的じゃない
ohmori_yusuke
0
270
データを"持てない"環境でのアノテーション基盤設計
sansantech
PRO
1
150
Route 53 Global Resolver で高額課金発生!
otanikohei2023
0
130
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
290
The Invisible Side of Design
smashingmag
303
52k
How to Talk to Developers About Accessibility
jct
2
180
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
500
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
150
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.4k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
140
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
200
How to make the Groovebox
asonas
2
2.1k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
460
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Transcript
KOSUKE OGAWA 2020 WebφΠτٶ࡚ No. 10 Ϧςϥϧܕʹ͍ͭͯ
ࣗݾհ w 0HBXB,PTVLFʢ!LPPHBXBʣ w Ξϧגࣜձࣾʢ౦ژʣ w ٶ࡚͔ΒϑϧϦϞʔτ w J04 4XJGU
"OESPJE ,PUMJO 5ZQF4DSJQU $44 7VFKT /VYUKTͳͲ w ࠷ۙϑϩϯτΤϯυ͕ϝΠϯ
͋Δ ͱ͋ΔίʔυΛಡΜͰ͍ͨΒɺ ͜ΜͳίʔυΛݟ͚ͭͨ
w AAͱ͔AAͱ͍͏ܕ͕͋Δʂʁ w BOVNCFSͳΒΘ͔Δ
• 6 2000 ͔͠ڐ͞Εͳ͍ܕ • จࣈྻͷϦςϥϧܕ͋Δ • const b:
'bar' = 'foo'; // Τϥʔ: Type '"foo"' is not assignable to type ‘"bar"'. Ϧςϥϧܕͱ͍͏Β͍͠
• จࣈྻͷϦςϥϧܕΛ࣋ͭstringܕͱͯ͠ѻ͏͜ͱ͕Ͱ͖Δ จࣈྻͷϦςϥϧܕ
• ܕऍΛলུͯͪ͠ΌΜͱਪ͞ΕΔ Ϧςϥϧܕͱܕਪ
͍ಓ
• ϝϯόมͷΛมߋͯ͠΄͘͠ͳ͍ͱ͖ ͍ಓ1
• ϢχΦϯܕͰ݁߹͢Δ ͍ಓ2
͋Γ͕ͱ͏͍͟͝·ͨ͠