-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Minor issues with generated code #365
Labels
Comments
I can confirm |
Hello @KBroichhausen |
Romakita
added a commit
that referenced
this issue
Mar 2, 2024
Romakita
added a commit
that referenced
this issue
Mar 2, 2024
Romakita
added a commit
that referenced
this issue
Mar 2, 2024
Romakita
added a commit
that referenced
this issue
Mar 2, 2024
🎉 This issue has been resolved in version 5.0.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Information
Following compile erros occur:
./envs/index
only exportsconfig
andisProduction
. I guessconfig
should be imported insrc/config/index.ts
but that would also clash with the file definingexport const config
by itself. Maybe import likeimport {config as envConfig} from "./envs/index";
should be considered.PostgresDatasource
is actually the name from the exportedDataSource
. I guess it should beconst instance = PlatformTest.get<DataSource>(PostgresDatasource);
whereDataSource
is the type fromtypeorm
package.Never used
SuperTest
but the type seems to be justlet request: SuperTest.Agent;
instead oflet request: SuperTest.SuperTest<SuperTest.Test>;
After fixing this, I get:
Error: Cannot find package '@babel/plugin-proposal-object-rest-spread' [...]
. Should be installed by the CLI.Also the CLI page doesn't work: https://cli.tsed.io/
Example
Just follow the posted interaction with tsed cli.
Acceptance criteria
The text was updated successfully, but these errors were encountered: