Skip to content

Using type for unknown instead of any #1113

@AceCodePt

Description

@AceCodePt

Currently the type of sql is:

  interface Row {
    [column: string]: any;
  }

  type MaybeRow = Row | undefined;

For type safety sake can it by unknown by default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions