sveld 0.36.3 → 0.36.5
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/lib/browser.d.ts +10 -0
- package/lib/browser.js +184 -189
- package/lib/{chunk-120ekvgm.js → chunk-02g49ekt.js} +1 -1
- package/lib/{chunk-ndh639r1.js → chunk-0q7qnmx3.js} +1 -1
- package/lib/chunk-4ggahk6z.js +17 -0
- package/lib/{chunk-9vv4gm0m.js → chunk-5x7ma2jx.js} +48 -48
- package/lib/chunk-8xxntxmc.js +225 -0
- package/lib/chunk-8ys487w2.js +1 -0
- package/lib/chunk-c5sqd852.js +1 -0
- package/lib/{chunk-zd76tr9f.js → chunk-fk94b2eb.js} +1 -1
- package/lib/{chunk-8avj9zpd.js → chunk-jvqe4bt1.js} +1 -1
- package/lib/chunk-mqwsaz35.js +7 -0
- package/lib/{chunk-5fcp13rt.js → chunk-tjthqdyw.js} +2 -2
- package/lib/cli-entry.js +1 -1
- package/lib/index.d.ts +10 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/lib/chunk-5pnev3w1.js +0 -20
- package/lib/chunk-bng0x7cd.js +0 -1
- package/lib/chunk-eagrqdtg.js +0 -1
- package/lib/chunk-fwfazckg.js +0 -4
- package/lib/chunk-vq3vjgvs.js +0 -230
package/lib/browser.d.ts
CHANGED
|
@@ -31,6 +31,14 @@ interface SourceRange {
|
|
|
31
31
|
end: SourcePosition;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
interface PendingCallDefaultCandidate {
|
|
35
|
+
propName: string;
|
|
36
|
+
location: "props" | "moduleExports";
|
|
37
|
+
calleeName: string;
|
|
38
|
+
importSource?: string;
|
|
39
|
+
importedName?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
34
42
|
interface ParsedComponentTypeScriptMetadata {
|
|
35
43
|
canonicalPropsType?: string;
|
|
36
44
|
canonicalPropNames: string[];
|
|
@@ -43,6 +51,8 @@ interface ParsedComponentTypeScriptMetadata {
|
|
|
43
51
|
* component's props as their AST-derived text rather than expand them.
|
|
44
52
|
*/
|
|
45
53
|
referencesComponentGenerics?: boolean;
|
|
54
|
+
/** Unresolved CallExpression defaults for the cross-file pass in `generateBundle`. */
|
|
55
|
+
pendingCallDefaultCandidates?: PendingCallDefaultCandidate[];
|
|
46
56
|
}
|
|
47
57
|
|
|
48
58
|
type SyntaxMode = "legacy" | "runes";
|