[react] added width attribute to TableHTMLAttributes, TdHTMLAttributes interfaces (#44671)

* [react] added attributes to TableHTMLAttributes, TdHTMLAttributes interfaces

- width: TableHTMLAttributes
- width, height: TdHTMLAttributes

* added package.json to peg typescript versions

* Revert "added package.json to peg typescript versions"

This reverts commit 0ee397f766845051a9f0d27e407058bdc6390150.
This commit is contained in:
dale tan 2020-06-17 10:48:21 -04:00 committed by GitHub
parent 6ae2ae4d08
commit 675d7dcc40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,7 @@
// Dimitri Mitropoulos <https://github.com/dimitropoulos>
// JongChan Choi <https://github.com/disjukr>
// Victor Magalhães <https://github.com/vhfmag>
// Dale Tan <https://github.com/hellatan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
@ -2266,6 +2267,7 @@ declare namespace React {
cellPadding?: number | string;
cellSpacing?: number | string;
summary?: string;
width?: number | string;
}
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
@ -2295,6 +2297,8 @@ declare namespace React {
rowSpan?: number;
scope?: string;
abbr?: string;
height?: number | string;
width?: number | string;
valign?: "top" | "middle" | "bottom" | "baseline";
}