ovr 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/action.d.ts +1 -1
- package/dist/app/page.d.ts +1 -1
- package/dist/jsx/elements.d.ts +1 -0
- package/package.json +1 -1
package/dist/app/action.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type JSX } from "../jsx/index.js";
|
|
2
2
|
import type { ExtractParams } from "../types/index.js";
|
|
3
3
|
import type { Middleware, Params } from "./index.js";
|
|
4
|
-
type FormProps<P extends Params> =
|
|
4
|
+
type FormProps<P extends Params> = JSX.IntrinsicElements["form"] & (keyof P extends never ? {
|
|
5
5
|
params?: never;
|
|
6
6
|
} : {
|
|
7
7
|
params: P;
|
package/dist/app/page.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type JSX } from "../jsx/index.js";
|
|
2
2
|
import type { ExtractParams } from "../types/index.js";
|
|
3
3
|
import type { Middleware, Params } from "./index.js";
|
|
4
|
-
type AnchorProps<P extends Params> =
|
|
4
|
+
type AnchorProps<P extends Params> = JSX.IntrinsicElements["a"] & (keyof P extends never ? {
|
|
5
5
|
params?: never;
|
|
6
6
|
} : {
|
|
7
7
|
params: P;
|
package/dist/jsx/elements.d.ts
CHANGED
|
@@ -264,6 +264,7 @@ type InputAttributes = Attributes<{
|
|
|
264
264
|
step: string;
|
|
265
265
|
type: "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
|
|
266
266
|
value: string;
|
|
267
|
+
webkitdirectory: boolean;
|
|
267
268
|
width: string;
|
|
268
269
|
}, never>;
|
|
269
270
|
type InsAttributes = Attributes<{
|