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
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エージェントに 権限と鍵をどこまで渡すか
nrinetcom
PRO
2
160
AI時代の開発はウォーターフォールに回帰する? / development-with-ai-back-to-wf
okamototakuyasr2
0
160
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
0
3.5k
Don't write the architecture only in the prompt.
neohsu
0
270
Oracle Database Security 詳細解説
oracle4engineer
PRO
1
160
アクセラレーターで実現するServiceNow活用の高速化 / ServiceNow World Forum 2026
visional_engineering_and_design
0
100
バイブコーディングの特徴と「コケて直す」ループ
happysamurai294
0
130
Deep Data Security 機能解説
oracle4engineer
PRO
3
970
AWSセキュリティで活用するAI機能
cmusudakeisuke
1
380
You Have Agency(サンキュー、Ruby)
snoozer05
PRO
4
610
あなたのDartコードは丸見えかもしれない ~reFlutterで暴くFlutterアプリの中身と多層防御~
zozotech
PRO
0
700
reInvent2026stby LT00 "Change your life!"
shinichirokawano
1
480
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
304
22k
WENDY [Excerpt]
tessaabrams
14
40k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Thoughts on Productivity
jonyablonski
76
5.4k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
290
Being A Developer After 40
akosma
PRO
92
590k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
760
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
2
970
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
68k
Are puppies a ranking factor?
jonoalderson
2
4.1k
Bash Introduction
62gerente
615
220k
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/