mirror of https://github.com/vuejs/core.git
parent
7bd4e90506
commit
c379bc29ef
|
@ -7,6 +7,7 @@ expectType<JSX.Element>(<div />)
|
||||||
expectType<JSX.Element>(<div id="foo" />)
|
expectType<JSX.Element>(<div id="foo" />)
|
||||||
expectType<JSX.Element>(<div>hello</div>)
|
expectType<JSX.Element>(<div>hello</div>)
|
||||||
expectType<JSX.Element>(<input value="foo" />)
|
expectType<JSX.Element>(<input value="foo" />)
|
||||||
|
expectType<JSX.Element>(<textarea value={null} />)
|
||||||
|
|
||||||
// @ts-expect-error style css property validation
|
// @ts-expect-error style css property validation
|
||||||
;<div style={{ unknown: 123 }} />
|
;<div style={{ unknown: 123 }} />
|
||||||
|
|
|
@ -739,7 +739,7 @@ export interface TextareaHTMLAttributes extends HTMLAttributes {
|
||||||
readonly?: Booleanish
|
readonly?: Booleanish
|
||||||
required?: Booleanish
|
required?: Booleanish
|
||||||
rows?: Numberish
|
rows?: Numberish
|
||||||
value?: string | ReadonlyArray<string> | number
|
value?: string | ReadonlyArray<string> | number | null
|
||||||
wrap?: string
|
wrap?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue