C
C
copal2016-07-02 21:31:22
JavaScript
copal, 2016-07-02 21:31:22

How to create correct .d.ts?

I wrote a .ts + .tsx project using the modular native style, but I struggle all day trying to assemble the correct .d.ts from it. What ts itself generates, although it is a declaration, repeats the structure of the project, but I would like everything to be in one file. And it does not work yet, when the module is connected, it gives a bunch of errors. What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Makarov, 2016-07-03
@copal

1. Look at these tools, they are called differently, but it seems that they do the same thing, just what you want:
2. Subscribe to this task: Proposal: Bundling TS module type definitions to keep track of out-of-the-box solutions. Now it looks like it doesn't exist.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question