Skip to content

Commit

Permalink
fix names of http-equiv and accept-charset attributes (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
yume-chan authored Jul 5, 2023
1 parent 0dea78f commit 9cc06eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions packages/dom-expressions/src/jsx-h.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ export namespace JSX {
name?: FunctionMaybe<string>;
}
interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
acceptcharset?: FunctionMaybe<string>;
"accept-charset"?: FunctionMaybe<string>;
action?: FunctionMaybe<string>;
autocomplete?: FunctionMaybe<string>;
encoding?: FunctionMaybe<HTMLFormEncType>;
Expand All @@ -750,7 +750,6 @@ export namespace JSX {
name?: FunctionMaybe<string>;
novalidate?: FunctionMaybe<boolean>;
target?: FunctionMaybe<string>;
acceptCharset?: FunctionMaybe<string>;
noValidate?: FunctionMaybe<boolean>;
}
interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
Expand Down Expand Up @@ -885,9 +884,8 @@ export namespace JSX {
interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
charset?: FunctionMaybe<string>;
content?: FunctionMaybe<string>;
httpequiv?: FunctionMaybe<string>;
"http-equiv"?: FunctionMaybe<string>;
name?: FunctionMaybe<string>;
httpEquiv?: FunctionMaybe<string>;
}
interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
form?: FunctionMaybe<string>;
Expand Down
6 changes: 2 additions & 4 deletions packages/dom-expressions/src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ export namespace JSX {
name?: string;
}
interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
acceptcharset?: string;
"accept-charset"?: string;
action?: string;
autocomplete?: string;
encoding?: HTMLFormEncType;
Expand All @@ -848,7 +848,6 @@ export namespace JSX {
name?: string;
novalidate?: boolean;
target?: string;
acceptCharset?: string;
noValidate?: boolean;
}
interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
Expand Down Expand Up @@ -989,9 +988,8 @@ export namespace JSX {
interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
charset?: string;
content?: string;
httpequiv?: string;
"http-equiv"?: string;
name?: string;
httpEquiv?: string;
}
interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
form?: string;
Expand Down

0 comments on commit 9cc06eb

Please sign in to comment.