Generated typings are broken
See original GitHub issueCurrent Behavior
Generated typings are broken (literally) starting from v0.10.0
. Here are some snippets:
interface Query extends Object {
id: ID;
type?: ch;
';;
exp;
}
interface Query extends Object {
id: ID;
type?: xport;
fu;
}
And YES, it duplicated almost every type declaration (see the full file here)
Expected behavior
Typings don’t have syntax errors.
Suggested solution(s)
I think it’s a bug in @wessberg/rollup-plugin-ts
. I tried that lib before in a different project but quickly removed it due to the same issue.
Your environment
Software | Version(s) |
---|---|
TSDX | >= v0.10.0 |
TypeScript | 3.6.4 |
Browser | N/A |
npm/Yarn | 6.11.3 |
Node | 12.8.1 |
Operating System | Debian Linux |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How do you fix a broken type signature in a library for your ...
1 Answer 1 · Install a different version of the typings and lock it (use the --save-exact flag when running npm install )....
Read more >Long-generating Bash prompt wraps incorrectly when I ...
Sometimes I start typing a command before it appears, but then the command wraps incorrectly. Here is what I see in the terminal:...
Read more >Someone seems to have broken the demo by typing in some ...
Someone seems to have broken the demo by typing in some JavaScript. Doesn't seem to be sanitizing input completely. EDIT: Looks like it's...
Read more >Common TypeScript module problems and how to solve ...
Enabling the compiler module resolution tracing in TypeScript can provide insight in diagnosing and solving problems.
Read more >Manage suggested recipients in the To, Cc, and Bcc boxes ...
When you start typing in the To, Cc, and Bcc fields in Outlook, ... The names and addresses that appear in Other Suggestions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@z0al, The issue with malformed typings you reported has been fixed in the latest version of
rollup-plugin-ts
.No worries. I will do if I could reproduce it in a small repo, thanks.