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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
andoshin11
May 19, 2020
Technology
490
2
Share
ain't giving up type-safe Express
andoshin11
May 19, 2020
More Decks by andoshin11
See All by andoshin11
Introduction to gRPC Interceptors
andoshin11
0
96
カーナベルにおけるProtobuf二次利用例
andoshin11
0
160
Envoy External AuthZとgRPC Extensionを利用した「頑張らない」Microservices認証認可基盤
andoshin11
0
940
カーナベル株式会社2024年2月 エンジニアイベント資料
andoshin11
0
510
Private Cloudを支える最高のユーザーガイド運用技術
andoshin11
0
320
TS CompilerがVueを喋れても良いじゃないか
andoshin11
0
790
Type Safe "Everything"
andoshin11
0
290
Hack your Nuxt router!
andoshin11
0
1.4k
GatewayパターンとSchema駆動開発
andoshin11
7
1.5k
Other Decks in Technology
See All in Technology
EarthCopilotに学ぶマルチエージェントオーケストレーション
nakasho
0
190
システムは「動く」だけでは 足りない - 非機能要件・分散システム・トレードオフの基礎
nwiizo
29
9k
Databricksを用いたセキュアなデータ基盤構築とAIプロダクトへの応用.pdf
pkshadeck
PRO
0
330
Azure Static Web Apps の自動ビルドがタイムアウトしやすくなった状況に対応した件/global-azure2026
thara0402
0
290
最新の脅威動向から考える、コンテナサプライチェーンのリスクと対策
kyohmizu
0
110
DevOpsDays Tokyo 2026 軽量な仕様書と新たなDORA AI ケイパビリティで実現する、動くソフトウェアを中心とした開発ライフサイクル / DevOpsDays Tokyo 2026
n11sh1
0
130
非エンジニア職からZOZOへ 〜登壇がキャリアに与えた影響〜
penpeen
0
460
AIペネトレーションテスト・ セキュリティ検証「AgenticSec」ご紹介資料
laysakura
0
2.2k
Hello UUID
mimifuwacc
0
140
数案件を同時に進行するためのコンテキスト整理術
sutetotanuki
2
250
ぼくがかんがえたさいきょうのあうとぷっと
yama3133
0
130
幾億の壁を超えて/Beyond Countless Walls(JP)
ikuodanaka
0
130
Featured
See All Featured
Prompt Engineering for Job Search
mfonobong
0
260
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
240
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
330
The Curse of the Amulet
leimatthew05
1
11k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
370
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
520
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Un-Boring Meetings
codingconduct
0
260
Scaling GitHub
holman
464
140k
Producing Creativity
orderedlist
PRO
348
40k
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