@armensanoyan wrote:
Hi! I am using angularfire2 in my ionic project. I need to get data in list to use querying-lists If I understood correct there is no lists in typescripts so writing
public players: list<Player[]>; this.players = db.list<Player>('Players')
I get an error
[ts] Cannot find name ‘list’.
is there any way to use lists in ionic project ?
Here is my ionic info@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.6 Cordova Platforms : none Ionic Framework : ionic-angular 3.9.2
System:
Node : v8.9.4 npm : 5.6.0 OS : Windows 10
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro
Posts: 1
Participants: 1