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
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
300
Nuxt.js で非同期なデータを取得するときのポイント
koogawa
0
340
Vue 入門者が日報ツールを作ってみた
koogawa
1
380
地方に住むエンジニアがこの先生きのこるには
koogawa
0
1.2k
Firestore のデータ設計について
koogawa
0
830
はじめてウェブサイトで Firebase を使ってみた
koogawa
1
480
iOSアプリ開発におけるJavaScript
koogawa
1
460
Stack Overflow活動 その後の活動報告
koogawa
1
210
「まりも」と iOS の 6年間
koogawa
4
7.5k
Other Decks in Technology
See All in Technology
AI時代に、 データアナリストがデータエンジニアに異動して
jackojacko_
0
890
AIエージェントの支払い基盤 AgentCore Payments概要
kmiya84377
2
190
ECSのTerraformモジュールにコントリビュートした話
harukasakihara
0
180
PdM・Eng・QAで進めるAI駆動開発の現在地/aidd-with-pdm-eng-qa
shota_kusaba
0
240
AI-Assisted Contributions and Maintainer Load - PyCon US 2026
pauloxnet
1
150
「QA=テスト」「シフトレフト=スクラムイベントの参加者の一員」の呪縛を解く。アジャイルな開発を止めないために、10Xで挑んだ「右側のしわ寄せ」解消記 #scrumniigata
nihonbuson
PRO
5
1.4k
O'Reilly Infrastructure & Ops Superstream: Platform Engineering for Developers, Architects & the Rest of Us
syntasso
0
160
サンプリングは「作る」のか「使う」のか? 分散トレースのコストと運用を両立する実践的戦略 / Why you need the tail sampling and why you don't want it
ymotongpoo
4
180
続 運用改善、不都合な真実 〜 物理制約のない運用改善はほとんど無価値 / 20260518-ssmjp-kaizen-no-value-without-physical-constraints
opelab
2
220
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.4k
Sociotechnical Architecture Reviews: Understanding Teams, not just Artefacts
ewolff
1
180
全社統制を維持しながら現場負担をどう減らすか〜プラットフォームチームとセキュリティチームで進めたSecurity Hub活用によるAWS統制の見直し〜/secjaws-security-hub-custom-insights
mhrtech
1
520
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
190
Become a Pro
speakerdeck
PRO
31
5.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
180
A designer walks into a library…
pauljervisheath
211
24k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
370
BBQ
matthewcrist
89
10k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
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
͋Γ͕ͱ͏͍͟͝·ͨ͠