Open ShMcK opened 8 years ago
Interfaces in TypeScript can be extended upon, whereas types can't.
/* type AccountDetails = { */ interface AccountDetails { ... } /* type loginOptions = { */ interface LoginOptions { ... }
This will allow the User type to be extended in the Angular2 tutorial:
/typings/party.d.ts
interface User extends ngMeteorAccounts.AccountDetails { invited: boolean; }
Interfaces in TypeScript can be extended upon, whereas types can't.
This will allow the User type to be extended in the Angular2 tutorial:
/typings/party.d.ts