runtime-compiler 1.2.2 → 1.2.3
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/index.d.ts +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export declare const clear: () => void;
|
|
|
38
38
|
* Clear compiler data in hydration
|
|
39
39
|
*/
|
|
40
40
|
export declare const clearHydration: () => void;
|
|
41
|
-
export declare const lazyDependency: (inject: (v:
|
|
41
|
+
export declare const lazyDependency: <T>(inject: (v: T) => string, val: T) => () => string;
|
|
42
42
|
/**
|
|
43
43
|
* Get evaluate code
|
|
44
44
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "runtime-compiler",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Universal compiler system",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"repository": {},
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"type": "module",
|
|
10
10
|
"exports": {
|
|
11
11
|
"./jit": "./jit.js",
|
|
12
|
-
"./
|
|
12
|
+
"./hydrate": "./hydrate.js",
|
|
13
13
|
".": "./index.js",
|
|
14
14
|
"./hydrate-loader": "./hydrate-loader.js",
|
|
15
|
-
"./
|
|
15
|
+
"./config": "./config.js"
|
|
16
16
|
}
|
|
17
17
|
}
|