@lengkapp/edge 0.0.24 → 0.0.26
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/edge-client.js +1 -1
- package/dist/edge-server.d.ts +12 -2
- package/dist/edge-server.js +1 -1
- package/package.json +1 -1
package/dist/edge-client.js
CHANGED
package/dist/edge-server.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @lengkapp/edge v0.0.
|
|
2
|
+
* @lengkapp/edge v0.0.26
|
|
3
3
|
* MIT License
|
|
4
4
|
*
|
|
5
5
|
* LengkApp Edge License
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
* JSX runtime *
|
|
37
37
|
* ------------------------------------------------------------------ */
|
|
38
38
|
|
|
39
|
-
export const Fragment:
|
|
39
|
+
export const Fragment: (props: { children?: any }) => JSXNode;
|
|
40
40
|
|
|
41
41
|
export interface JSXNode {
|
|
42
42
|
type: string | symbol | ((props: any) => any);
|
|
@@ -176,4 +176,14 @@ export class Edge {
|
|
|
176
176
|
env: Record<string, any>,
|
|
177
177
|
executionCtx: ExecutionContext
|
|
178
178
|
): Promise<Response>;
|
|
179
|
+
}
|
|
180
|
+
/* ---------------- JSX typing for this runtime ---------------- */
|
|
181
|
+
|
|
182
|
+
declare global {
|
|
183
|
+
namespace JSX {
|
|
184
|
+
type Element = any;
|
|
185
|
+
type ElementType = string | symbol | ((props: any) => JSXNode);
|
|
186
|
+
interface IntrinsicElements { [elemName: string]: any; }
|
|
187
|
+
interface ElementChildrenAttribute { children: {}; }
|
|
188
|
+
}
|
|
179
189
|
}
|
package/dist/edge-server.js
CHANGED