Skip to content
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

Undefined typing of parameters in generated function #1295

Open
SamCheung2 opened this issue Apr 2, 2024 · 0 comments
Open

Undefined typing of parameters in generated function #1295

SamCheung2 opened this issue Apr 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@SamCheung2
Copy link

What are the steps to reproduce this issue?

  1. npm i

What happens?

Some Generated functions are given " | undefined " due to a '?' in the parameters causing typescript errors in the ESLint.
example:
const build(id? : string){}

What were you expecting to happen?

Before it would not generate the '?'

Any logs, error output, etc?

Any other comments?

Issue was caused by this push: v6.25.0...v6.26.0
Error on build: v6.26.0

What versions are you using?

Operating System: Mac/Windows
Package Version: v6.26.0
Browser Version: ...

@melloware melloware added the bug Something isn't working label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants