Testing type of union variable without verifying properties

前端 未结 0 745
灰色年华
灰色年华 2020-12-14 02:56

I\'m trying to check for the type of the value of a variable of union type.

/* @flow */

type A = {
  a: number, 
  b:          


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