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

generated code type error #18

Open
shiqicao opened this issue Aug 28, 2024 · 0 comments
Open

generated code type error #18

shiqicao opened this issue Aug 28, 2024 · 0 comments

Comments

@shiqicao
Copy link
Contributor

./gen/_framework/reified.ts:329:17
Type error: 'decodeFromFieldsWithTypes' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.

  327 | }
  328 |
> 329 | export function decodeFromFieldsWithTypes(reified: Reified<TypeArgument, any>, item: any) {
      |                 ^
  330 |   switch (reified) {
  331 |     case 'bool':
  332 |     case 'u8':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant