Quantcast
Channel: Why angular model interfaces are exported? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Yevhenii Dovhaniuk for Why angular model interfaces are exported?

This goes to a long story of javascript history. In early ages you had to manually specify your javascript files using <script src="name.js"> tag with the exact order - top to bottom. After the...

View Article



Why angular model interfaces are exported?

In angular - the models (model interfaces) are declared like so:export interface PersonInterface { id: number; name: string;}and then in some other component,service etc. your import this interface and...

View Article
Browsing all 2 articles
Browse latest View live


Latest Images