Created
February 10, 2014 13:06
-
-
Save KevinTCoughlin/8915600 to your computer and use it in GitHub Desktop.
TypeScript + Firebase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Getting Started with TypeScript and Firebase | |
## What is TypeScript | |
## Creating a new TypeScript Project | |
* Open Visual Studio 2013 | |
* Navigate to NuGet plugins for this solution | |
Nuget plugins for this solution -> Firebase definitely typed | |
## What is a TypeScript definition file (*.d.ts) | |
We need to reference the definition file and (include the js file)? | |
## Download Firebase's TypeScript Definition File | |
## Example Usage | |
class Database { | |
db: Firebase; | |
constructor() { | |
this.db = new Firebase('https://ecma.firebaseio.com/'); | |
} | |
} | |
var db = new Database(); new Firebase('https://ecma.firebaseio.com/') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment