Quantcast
Channel: Why angular model interfaces are exported? - Stack Overflow
Browsing latest articles
Browse All 2 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 latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>