Skip to content

Row is possibly undefined #6

Closed
@woowenjun99

Description

@woowenjun99

This is not a bug but more of an annoying issue. Upon generating the TypeScript file, there is an issue where row might be undefined during const row = result.rows[0];. One simple solution would be to typecast by editing the generated file, but it is not really ideal. Would there be a better solution to this?

Screenshot 2024-01-03 at 12 39 57 AM Screenshot 2024-01-03 at 12 39 52 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions