You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all, great project, using it with a lot of joy.
I have a small feature request. I am using the generated code in a svelte project, where the tsconfig.js does have
"importsNotUsedAsValues": "error"
This gives me a tslint error in the generated api.ts, because it imports Observable as
import { Observable } from "rxjs";
instead of
import type { Observable } from "rxjs";
I was trying to come up with a pull request, but I can't seem to find where it happens. I saw in tspoet that it supports importing as type, so maybe it'll take you only a minute. Not really a big deal though, I can simply add it everytime after compiling the API.
The text was updated successfully, but these errors were encountered:
Hi,
first of all, great project, using it with a lot of joy.
I have a small feature request. I am using the generated code in a svelte project, where the
tsconfig.js
does have"importsNotUsedAsValues": "error"
This gives me a tslint error in the generated api.ts, because it imports
Observable
asimport { Observable } from "rxjs";
instead of
import type { Observable } from "rxjs";
I was trying to come up with a pull request, but I can't seem to find where it happens. I saw in
tspoet
that it supports importing as type, so maybe it'll take you only a minute. Not really a big deal though, I can simply add it everytime after compiling the API.The text was updated successfully, but these errors were encountered: