TypeScript - can you type check for an interface extending from a certain type without a type guard?

前端 未结 0 720
一整个雨季
一整个雨季 2020-11-27 03:05

I have a custom router component: -

import React, { ReactElement } from \'react\'
import { ReactiveVar } from \'@apollo/client\'

export interface BaseCurrent         


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