vendredi 2 mai 2014

Typescript Class not visibel inside other class


Vote count:

0




How do I make one class Server visible inside another class Database in Typescript? When I try to create an instance of var theServer = new Server(); inside the Database class I get the following error:



ReferenceError: Server is not defined


asked 55 secs ago






Aucun commentaire:

Enregistrer un commentaire