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
520
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
130
カーナベルにおけるProtobuf二次利用例
andoshin11
0
180
Envoy External AuthZとgRPC Extensionを利用した「頑張らない」Microservices認証認可基盤
andoshin11
0
1k
カーナベル株式会社2024年2月 エンジニアイベント資料
andoshin11
0
560
Private Cloudを支える最高のユーザーガイド運用技術
andoshin11
0
330
TS CompilerがVueを喋れても良いじゃないか
andoshin11
0
820
Type Safe "Everything"
andoshin11
0
320
Hack your Nuxt router!
andoshin11
0
1.5k
GatewayパターンとSchema駆動開発
andoshin11
7
1.6k
Other Decks in Technology
See All in Technology
dbt in Microsoft Fabric
ryomaru0825
0
260
AWS Blocks が楽しい #ゆるWeb札幌
tacck
PRO
0
150
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
170
わたしが知り合いゼロの勉強会に 行けるようになるまで
r5ni4
2
790
会計事務所と顧問先の契約関係をOIDC・OAuthで表現する
terara
0
330
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
Kiro WebとCloud Sessions
nagisa53
2
200
GopherCon @シアトル に行ってきました
logica0419
0
260
あなたの知らないバージョン命名規則
sat
PRO
2
740
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.5k
Microsoft MVP プログラムを紹介するから目指す人増えてくれ
tsubakimoto_s
0
110
マイナンバーカード本人確認の実装比較(OAuth/OIDC Numa (Immersion) Workshop 2026) / 20260825 numa-12
oidfj
PRO
0
260
Featured
See All Featured
Balancing Empowerment & Direction
lara
6
1.2k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Designing Experiences People Love
moore
143
24k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
HDC tutorial
michielstock
2
820
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
690
Large-scale JavaScript Application Architecture
addyosmani
515
110k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
250
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
500
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