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
TypeScriptをより実践的に使うために
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Mayuki Sawatari
June 14, 2014
Programming
4.6k
6
Share
TypeScriptをより実践的に使うために
Build Insider Offline #2 (
http://www.buildinsider.net/event/offline/02
)
Mayuki Sawatari
June 14, 2014
More Decks by Mayuki Sawatari
See All by Mayuki Sawatari
.NET 9アプリをCGIとして レンタルサーバーで動かす
mayuki
1
1.2k
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
2
37k
Real World .NET Core on Kubernetes
mayuki
2
3.9k
OneDrive On-Demandがすごい
mayuki
0
2.6k
Android TVとXamarinとKotlin
mayuki
2
540
Cutting Edge!
mayuki
0
3.8k
.NETプログラム(のランタイムを実装する)入門なのです
mayuki
0
2.4k
Acute Low back pain
mayuki
1
280
まるごと Internet Explorer 11 + Windows Phone 8.1
mayuki
0
300
Other Decks in Programming
See All in Programming
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
190
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
140
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
4
450
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
ソースコード→AST→オペコード、の旅を覗いてみる
o0h
PRO
1
130
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
260
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
180
【26新卒研修】OpenAPI/Swagger REST API研修
dip_tech
PRO
0
150
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
1
680
Explore CoroutineScope
tomoeng11
0
180
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
3
760
AgentCore Optimizationを始めよう!
licux
3
230
Featured
See All Featured
New Earth Scene 8
popppiees
3
2.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
RailsConf 2023
tenderlove
30
1.4k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
210
A Tale of Four Properties
chriscoyier
163
24k
Leo the Paperboy
mayatellez
7
1.7k
Building Applications with DynamoDB
mza
96
7k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
790
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
130
Testing 201, or: Great Expectations
jmmastey
46
8.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Transcript
None
( )
None
TypeScript TypeScript TypeScript TypeScript ? ? TypeScript TypeScript
None
TypeScript Ver.1.0
JavaScript
None
( )
None
None
Module( ) Class/Interface Arrow Function
IDE ( )
None
IDE DOM
JavaScript HTML
JavaScript Visual Studio IDE JavaScript
IDE
None
Node.js WebStorm Visual Studio Playground Visual Studio Online
None
% npm install -g typescript % tsc nantoka.ts
None
JetBrains Web HTML CSS JavaScript TypeScript TypeScript/JavaScript TypeScript Node.js
None
Microsoft 2013 Update 2 (Visual Studio Express) TypeScript
None
Visual Studio TypeScript
None
JetBrains Visual Studio ( )
None
None
None
None
Microsoft Azure Web Sites Node.js+TypeScript
None
None
Web WebStorm+Node.js Windows Visual Studio Playground Visual Studio Online
None
(.d.ts) DefinitelyTyped Visual Studio DefinitelyTyped Node.js DefinitelyTyped (.d.ts)
JavaScript
GitHub (.d.ts) https://github.com/borisyankov/DefinitelyTyped
None
None
tsd % npm install -g tsd % tsd query knockout
None
JavaScript TypeScript TypeScript
TypeScript declare
declare var hoge: number; // JavaScript hoge declare class Hoge
{ foo(): void; }
// Rabbit function Rabbit(name) { this.name = name; } //
jump Rabbit.prototype.jump = function () { alert(this.name + ' '); } // Rabbit Tippy var Tippy = new Rabbit(' ');
any declare var Tippy: any;
declare var Tippy: any; declare class Rabbit { constructor(name: string);
// name: string; // jump(): void; // }
any declare var Tippy: Rabbit; declare class Rabbit { constructor(name:
string); // name: string; // jump(): void; // }
JS ? var HotCocoa = { name: ' ', price:
400 }; var KilimanjaroCoffee = { name: ' ', price: 600 };
new interface interface IDrinkStatic { name: string; price: number; }
declare var HotCocoa: IDrinkStatic; declare var KilimanjaroCoffee: IDrinkStatic;
None
any any
None
None
TypeScript TypeScript JavaScript tsc
None
TypeScript
None