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
ain't giving up type-safe Express
Search
andoshin11
May 19, 2020
Technology
2
420
ain't giving up type-safe Express
andoshin11
May 19, 2020
Tweet
Share
More Decks by andoshin11
See All by andoshin11
カーナベルにおけるProtobuf二次利用例
andoshin11
0
71
Envoy External AuthZとgRPC Extensionを利用した「頑張らない」Microservices認証認可基盤
andoshin11
0
520
カーナベル株式会社2024年2月 エンジニアイベント資料
andoshin11
0
300
Private Cloudを支える最高のユーザーガイド運用技術
andoshin11
0
280
TS CompilerがVueを喋れても良いじゃないか
andoshin11
0
710
Type Safe "Everything"
andoshin11
0
240
Hack your Nuxt router!
andoshin11
0
1.2k
GatewayパターンとSchema駆動開発
andoshin11
7
1.4k
Catch up Nuxt.js 2019.02
andoshin11
0
2k
Other Decks in Technology
See All in Technology
いまからでも遅くない!コンテナでWebアプリを動かしてみよう!コンテナハンズオン編
nomu
0
160
Aurora PostgreSQLがCloudWatch Logsに 出力するログの課金を削減してみる #jawsdays2025
non97
1
220
生成AI “再”入門 2025年春@WIRED TUESDAY EDITOR'S LOUNGE
kajikent
0
120
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
19k
システム・ML活用を広げるdbtのデータモデリング / Expanding System & ML Use with dbt Modeling
i125
1
330
役員・マネージャー・著者・エンジニアそれぞれの立場から見たAWS認定資格
nrinetcom
PRO
4
6.1k
Two Blades, One Journey: Engineering While Managing
ohbarye
4
2.1k
実は強い 非ViTな画像認識モデル
tattaka
3
1.3k
設計を積み重ねてシステムを刷新する
sansantech
PRO
0
170
開発組織を進化させる!AWSで実践するチームトポロジー
iwamot
2
400
Windows の新しい管理者保護モード
murachiakira
0
200
あなたが人生で成功するための5つの普遍的法則 #jawsug #jawsdays2025 / 20250301 HEROZ
yoshidashingo
2
300
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
Building Your Own Lightsaber
phodgson
104
6.2k
Why Our Code Smells
bkeepers
PRO
336
57k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
570
Unsuck your backbone
ammeep
669
57k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Optimising Largest Contentful Paint
csswizardry
34
3.1k
Transcript
ain’t giving up type-safe Express @andoshin11 19. 5. 2020 #隅田川.js
Who am I ? hin Ando (a.k.a Andy) @andoshin11 -
Freelance Full- tack Developer - ype cript / Vue.js / eact / Go / uby / erraform / etc… - ❤ Code Generation!
ecent Works: typescript-error-reporter-action
ecent Works: vue-type-audit
Express with ype cript
What’s new with @types/express • Generic eq/ es ype •
H Methods Awareness (← my first contribution!!) • Generic uery arameter ype • Enhanced Middleware ype • Improved ame- ite Cookie options • and more...
oute handlers
None
oute handlers Dictionary ype bject ype any Can send anything
Mapping Handler ypes
Mapping Handler ypes
eparating Declaration Multiple handler types can be defined for different
paths
H Method Distinction eceives Method type as a Generic input
Am I really doing this...
Let the tools do their jobs!!
typed-oax
typed-oax Open API Open API AST TypeScript AST Handler Types(d.ts)
Generate Handler ypes using pen A I & A arser
typed-oax DEM