sveld 0.38.3 → 0.38.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.
@@ -1 +1 @@
1
- import{ye,be}from"./chunk-ssa3mr5n.js";import{Gt,Wt,M,Ft,we,Je,Ht,ee}from"./chunk-nv6dzbmp.js";export{ee as ComponentParser,Ft as deriveLiteralDetailType,Wt as extractJsDocDeprecatedAndTags,Gt as extractJsDocReturnType,be as formatParseError,M as getCommentTags,we as literalDetailToTypeText,ye as parseModule,Je as parseSvelte,Ht as parseSvelteScripts};
1
+ import{ye,be}from"./chunk-an5rdwgz.js";import{Gt,Wt,M,Ft,we,Je,Ht,ee}from"./chunk-g1rqx8nx.js";export{ee as ComponentParser,Ft as deriveLiteralDetailType,Wt as extractJsDocDeprecatedAndTags,Gt as extractJsDocReturnType,be as formatParseError,M as getCommentTags,we as literalDetailToTypeText,ye as parseModule,Je as parseSvelte,Ht as parseSvelteScripts};
package/cli-entry.js CHANGED
@@ -1,4 +1,4 @@
1
- import{se,oe,ae,N,n,$t,Te,Ee,J,Se,ke,Z,q,I,F,K,V,U,D,R,Be,L,qt,je}from"./chunk-ssa3mr5n.js";import{existsSync as v}from"node:fs";import{join as x,resolve as E}from"node:path";var g="src/index.js",h={SUCCESS:0,USAGE_ERROR:1,GENERATION_FAILURE:2,BREAKING_CHANGE:3,DIAGNOSTICS:4},w=`Usage: sveld [options]
1
+ import{se,oe,ae,N,n,$t,Te,Ee,J,Se,ke,Z,q,I,F,K,V,U,D,R,Be,L,qt,je}from"./chunk-an5rdwgz.js";import{existsSync as v}from"node:fs";import{join as x,resolve as E}from"node:path";var g="src/index.js",h={SUCCESS:0,USAGE_ERROR:1,GENERATION_FAILURE:2,BREAKING_CHANGE:3,DIAGNOSTICS:4},w=`Usage: sveld [options]
2
2
 
3
3
  Generate TypeScript definitions and component documentation for a Svelte
4
4
  library. With no flags, only TypeScript definitions are generated for the
package/index.d.ts CHANGED
@@ -359,6 +359,11 @@ interface ComponentElement {
359
359
  * ```
360
360
  */
361
361
  thisValue?: string;
362
+ /**
363
+ * The type parameter a dynamic tag is typed with, so rest props follow it:
364
+ * `Tag` for `<svelte:element this={tag}>` with `tag` typed `Tag`.
365
+ */
366
+ thisType?: string;
362
367
  /** From `@restProps` JSDoc. */
363
368
  description?: string;
364
369
  }
package/index.js CHANGED
@@ -1 +1 @@
1
- import{H,Ve,m,Bt,J,Se,jt,ke,Vt,Jt,Ut}from"./chunk-ssa3mr5n.js";import{ee}from"./chunk-nv6dzbmp.js";export{jt as CHECK_REPORT_SCHEMA_VERSION,ee as ComponentParser,Ve as DIAGNOSTICS_SCHEMA_VERSION,H as DIAGNOSTIC_CODES,m as buildComponentApiDocument,Jt as default,Vt as defineConfig,Bt as diffApiDocuments,Se as formatCheckReport,ke as formatCheckReportJson,J as runCheck,Ut as sveld};
1
+ import{H,Ve,m,Bt,J,Se,jt,ke,Vt,Jt,Ut}from"./chunk-an5rdwgz.js";import{ee}from"./chunk-g1rqx8nx.js";export{jt as CHECK_REPORT_SCHEMA_VERSION,ee as ComponentParser,Ve as DIAGNOSTICS_SCHEMA_VERSION,H as DIAGNOSTIC_CODES,m as buildComponentApiDocument,Jt as default,Vt as defineConfig,Bt as diffApiDocuments,Se as formatCheckReport,ke as formatCheckReportJson,J as runCheck,Ut as sveld};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sveld",
3
- "version": "0.38.3",
3
+ "version": "0.38.5",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Generate TypeScript definitions and component documentation for your Svelte components.",
6
6
  "type": "module",
@@ -460,6 +460,7 @@
460
460
  "type": { "const": "Element" },
461
461
  "name": { "type": "string" },
462
462
  "thisValue": { "type": "string" },
463
+ "thisType": { "type": "string" },
463
464
  "description": { "type": "string" }
464
465
  }
465
466
  },