Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Commit

Permalink
Upgraded to Angular 2 beta 6 (closes #74) (closes #81)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsebastien committed Feb 13, 2016
1 parent b0bf629 commit 82f3b80
Show file tree
Hide file tree
Showing 8 changed files with 678 additions and 627 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* 0.4.1
* now supports Angular 2 beta 6
* removed tsd dependency
* 0.4.0
* now uses modernWebDevBuild 0.4.x: https://github.com/dsebastien/modernWebDevBuild/releases/tag/0.4.0
* upgraded the version of the typings dependency (closes #84)
Expand Down
13 changes: 13 additions & 0 deletions app/templates/applicationFiles/app/typings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
This folder should only contain custom TypeScript type definitions (.d.ts) files.

Only place your own type definitions here or ones that you must temporarily copy/modify.
Unless you have no choice, you should install type definitions using `typings install ... --save`.

If you install typings using the command above:
* typings.json will be updated
* the typings will be downloaded in the root typings folder (i.e., not this one)
* references to these typings files will be added to both `main.d.ts` and `browser.d.ts` in the root typings folder

All type definition files in this folder will automatically be picked up by the TypeScript compiler.

For more details about the typings CLI, check out the official docs: https://github.com/typings/typings
30 changes: 30 additions & 0 deletions app/templates/applicationFiles/app/typings/custom.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* Custom Type Definitions
* When including 3rd party modules you also need to include the type definition for the module
* if they don't provide one within the module. You can try to install it with typings
typings install node --save
* If you can't find the type definition in the registry we can make an ambient definition in
* this file for now. For example
declare module "my-module" {
export function doesSomething(value: string): string;
}
*
* If you're prototying and you will fix the types later you can also declare it as type any
*
declare var assert: any;
*
* If you're importing a module that uses Node.js modules which are CommonJS you need to import as
*
import * as _ from 'lodash'
* You can include your type definitions in this file until you create one for the typings registry
* see https://github.com/typings/registry
*
*/
Empty file.
Loading

0 comments on commit 82f3b80

Please sign in to comment.