I
I
Ivan Pesochenko2015-10-29 14:07:18
JavaScript
Ivan Pesochenko, 2015-10-29 14:07:18

Who knows open repositories of typescript projects with competent architecture?

I have a lot of deep questions about code organization, dependencies, namespaces.
For example, how to build a library in such a way that dependent consumers do not have problems with accessing classes and interfaces from the outside?
Build in one file or in a bunch that will import itself?
Yes, it would be better to do everything so that the IDE (webstorm, for example) reads everything correctly ....
How can I do it so that .d.ts declarations are generated in one file, and not in a bunch, according to the division of the original .ts files?
What I get is what I don't like. Clumsily, a lot of imports with paths deep into the library build folder (behind the .d.ts declarations)
Therefore, I want to peep how the right guys arrange it all in large projects.
Tell me, pls, links to open repositories with TS sources

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas, 2015-10-29
@wallride

I think one of the biggest typescript projects is Angular 2.
https://github.com/angular/angular/tree/master/mod... also the developers write all sorts of things about the development process in the blog.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question