Why does react HOC, that assign props have a typescript error

前端 未结 0 998
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 21:45

typescript - v3.9.7

I have a HOC that pass additional props to the component:

import React from \'react\';

interface IWithOwner {
    owner: string;
}

ty         


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