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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
98
カーナベルにおける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
No Types Needed, Just Callable Method Check
dak2
1
620
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.3k
AIエージェントの権限管理 2: データ基盤の Fine grained access control 編
ren8k
0
120
Master Dataグループ紹介資料
sansan33
PRO
1
4.6k
小説執筆のハーネスエンジニアリング
yoshitetsu
0
470
Azure Speech で音声対応してみよう
kosmosebi
0
160
明日からドヤれる!超マニアックなAWSセキュリティTips10連発 / 10 Ultra-Niche AWS Security Tips
yuj1osm
0
550
基盤を育てる 外部SaaS連携の運用
gamonges_dresscode
1
110
AgentCore×VPCでの設計パターンn選と勘所
har1101
3
260
Choose your own adventure in agentic design patterns
glaforge
0
130
マルチプロダクトの信頼性を効率良く保っていくために
kworkdev
PRO
0
140
猫でもわかるKiro CLI(CDKコーディング編)
kentapapa
1
130
Featured
See All Featured
My Coaching Mixtape
mlcsv
0
98
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
140
How to train your dragon (web standard)
notwaldorf
97
6.6k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
310
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
290
The browser strikes back
jonoalderson
0
970
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
170
Odyssey Design
rkendrick25
PRO
2
570
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
210
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
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