How to declare types for a component globally without adding it to global.d.ts?

后端 未结 0 2054
小蘑菇
小蘑菇 2020-11-29 15:49

If I have a component, such as,

// ~/components/Dropdown/index.tsx
import React from "react";

export default function Component() {
  const myValue         


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