What do the Pipe “|” symbols mean in a Flow type definition?

前端 未结 0 673
忘了有多久
忘了有多久 2020-12-31 04:48

I read the documentation and it was a little difficult to understand what the pipe symbol is actually doing in something like this:

const inputRef: {| current:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题