|
|
declare can be used to get around a libraries syntax that you dont have a chance to type.
|
|
|
* ex) for lodash you have to do the following:
|
|
|
- declare var _ as * from
|
|
|
* ex) declare var Window:any = window;
|
|
|
|
|
|
On ngFor you must initialize to have an initial value:
|
|
|
*ex) private books: any = [{}];
|
|
|
|
|
|
Need to check for initial values more often in general
|
|
|
|
|
|
|
|
|
declare, typings `typings install dt~lodash`, tslint |
|
|
\ No newline at end of file |