[@types/react] interface TextareaHTMLAttributes - value
is string | ReadonlyArray<string> | number | undefined;
should it only be string
?
#69473
Unanswered
logonv
asked this question in
Issues with a @types package
Replies: 1 comment
-
Thanks for the discussion about "react", some useful links for everyone: Pinging the DT module owners: @johnnyreilly, @bbenezech, @pzavolinsky, @ericanderson, @DovydasNavickas, @theruther4d, @guilhermehubner, @ferdaber, @jrakotoharisoa, @pascaloliv, @Hotell, @franklixuefei, @Jessidhia, @saranshkataria, @lukyth, @eps1lon, @zieka, @dancerphil, @dimitropoulos, @disjukr, @vhfmag, @hellatan, @priyanshurav, @Semigradsky, @mattpocock. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, thanks for the library.
A quick q regarding TextareaHTMLAttributes. Here, value is define as
string | ReadonlyArray<string> | number | undefined;
When would it not be a string?
Mdn docs say
value
is always a string and in the Microsoft typescript repo, value is typed as a string - see here.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions