sveld 0.38.3 → 0.38.4
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/browser.d.ts +5 -0
- package/browser.js +112 -112
- package/{chunk-q19n9qm3.js → chunk-3z90f57k.js} +1 -1
- package/{chunk-asxze8b8.js → chunk-4kzw8twf.js} +1 -1
- package/{chunk-nv6dzbmp.js → chunk-6s52n40s.js} +8 -8
- package/{chunk-ssa3mr5n.js → chunk-8v3hb5br.js} +54 -54
- package/cli-entry.js +1 -1
- package/index.d.ts +5 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/schema/component-api.schema.json +1 -0
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-
|
|
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-8v3hb5br.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-
|
|
1
|
+
import{H,Ve,m,Bt,J,Se,jt,ke,Vt,Jt,Ut}from"./chunk-8v3hb5br.js";import{ee}from"./chunk-6s52n40s.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