Open mattwelke opened 6 years ago
Running into the same issue with @emmetio/abbreviation
Seems the problem is the forward slash, you can work around the issue by manually specifying the output file with -f
.
I don't think the -f
workaround worked for me. I used it with the @google-cloud/compute
NPM module I tried to generate types for before and it only produced three lines:
> dts-gen -m @google-cloud/compute -f out
Wrote 3 lines to out.d.ts.
The three lines don't appear to describe types meaningfully:
/** Declaration file generated by dts-gen */
export = @google_cloud/compute;
I actually got the same thing, thought that's a different issue than the one that was initially reported here.
Is this project still supported? The original issue was reported 15 days ago and it has yet to receive a response.
Had the same problem but with the @google-cloud/bigquery
module. I've opened a new issue #107 describing that a d.ts
file is generated but the content doesn't make sense.
Any updates on this?
I got this error message when trying to generate types for the
@google-cloud/compute
package:My first suspicion was that this was an issue with me using Yarn instead of NPM, so I tried generating types for the
yargs
package in the readme example. That actually worked fine:In both cases, I made sure to install the packages globally as per the readme instructions before running the
dts-gen
command to generate types for them.Could this be an issue with this particular package?
My info:
@google-cloud/compute version: 0.10.0 yarn version: 1.5.1 Node version: 8.9.4