Skip to content

TypeScript errors when import useHydrateAtoms and build project #2723

Answered by dai-shi
WhiteCyClop asked this question in Bug report
Discussion options

You must be logged in to vote

Thanks for reporting. Yeah, we reverted the #605 change afterwards.

Can you add it in your code and see if it works for you?

declare global {
  interface SymbolConstructor {
    readonly observable: symbol
  }
}

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@WhiteCyClop
Comment options

@WhiteCyClop
Comment options

@dai-shi
Comment options

@WhiteCyClop
Comment options

Answer selected by WhiteCyClop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants