Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
typescript-freeeapi.pdf
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
m-haketa
August 07, 2019
Technology
440
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
typescript-freeeapi.pdf
m-haketa
August 07, 2019
More Decks by m-haketa
See All by m-haketa
freeeapiヘルパー(TypeScript、GAS向け)の紹介/freee-api-helper
mhaketa
0
1.1k
clasp導入の落とし穴/ installing clasp
mhaketa
0
2.2k
Other Decks in Technology
See All in Technology
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
520
ログラスのマルチプロダクトを 支える認証基盤 〜テナントごとに異なる統制とどう向き合うか〜
dada4386
3
400
Kernel testing frameworks
ennael
PRO
0
110
インバスケット試験対策アプリを 作って見えたAIエージェント構築 ナレッジ2選
shichijoyuhi
1
130
カンファレンスに参加した後の浮遊感とセルフケア
pauli
0
310
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
150
LocalStack を使ったサーバーレスアプリケーション開発 / Serverless Development with LocalStack
kakakakakku
0
260
生成AIを使って「人が」考える技術 ― AI時代の人機共想と実践ノウハウ|UNITT AC2026
ishiirikie
0
560
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
290
【データ横丁主催】AI Agentがコンテキストを使って仕事をした後、何が残るのか― 組織の経験を次の判断に引き継ぐ「Agent Memory」
shisyu_gaku
2
330
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
120
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
1
1.4k
Featured
See All Featured
Test your architecture with Archunit
thirion
2
2.4k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
Exploring anti-patterns in Rails
aemeredith
4
520
Optimizing for Happiness
mojombo
378
71k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
320
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Utilizing Notion as your number one productivity tool
mfonobong
4
610
Git: the NoSQL Database
bkeepers
PRO
433
67k
Designing for Performance
lara
612
70k
Crafting Experiences
bethany
1
370
Transcript
TypeScriptで freeeAPIの自動補完
2 自己紹介 名前: 羽毛田 睦土(はけた まこと) 仕事: 会計事務所 経営 エクセルセミナー
運営 ソフトウエア 開発 Twitter: @excelspeedup
GASでfreeeAPIを使うとき 3
GASでfreeeAPIを使うとき 4 入力候補が出てくると 便利じゃないですか?
5 GASでfreeeAPIを使うとき APIでデータを取得した後 自動補完が効かないのはツラい
TypeScriptを使おう! 6
GASでTypeScriptを使うには 7
8 claspを使うと何ができる? ローカル環境で開発ができる (たぶん使いにくい)GASの標準エディタを使わずに、 好きなエディタで開発できる JavaScriptの新しい構文が使える TypeScriptが使える
9 TypeScriptでAPIの帰り値に型を付ける TypeScriptでは、変数に型を付けられる その変数がどういうプロパティを 持っているかを定義できる
10 TypeScriptでAPIの帰り値に型を付ける TypeScriptでは、変数に型を付けられる その変数がどういうプロパティを 持っているかを定義できる 自動補完ができる!
実演してみます 11
12 どういう仕組み? 帰り値の型を設定
どういう仕組み? 13 「get_bs」の帰り値は 「trial_bs」という プロパティを持っている
どういう仕組み? 14 trial_bsは、 これらのプロパティ を持っている
どういう仕組み? 15 Balancesの各要素は、 これらのプロパティを 持っている
TypeScript は いいぞ! 16
17 claspをとりあえず動かしたいときには? このブログに導入手順をまとめてあります https://gas.excelspeedup.com/