Skip to content

Typescript / code sandbox example #20

@tony

Description

@tony

Thank you for the project!

I have a bug setting up (typescript 4.3.5, use-query-string 2.4.1, query-string 6.12.0) but think it'd be most efficient if I could give a shot recreating it in a codesandbox to give a reproducible example / isolate it more

TS2488: Type 'QueryStringResult' must have a '[Symbol.iterator]()' method that returns an iterator.
    147 | const HeaderComponent = ({ onPropClicked }: Props) => {
  > 148 |   const [query, setQuery] = useQueryString(window.location, updateQuery)

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