`Partial` not working in typescript

前端 未结 0 1078
粉色の甜心
粉色の甜心 2020-12-04 17:06

Given

class A {
    props: {
        bool?: boolean,
        test: string
    } = {
        test: \'a\'
    };
    setProps(newProps: Partial

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