@genesislcap/ts-builder 14.425.0 → 14.426.1-alpha-be0ea39.0
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
|
-
{"version":3,"file":"react-wrapper-generator.d.ts","sourceRoot":"","sources":["../src/react-wrapper-generator.ts"],"names":[],"mappings":"AAyCA,KAAK,cAAc,GACf;IAAE,SAAS,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACjC;IAAE,SAAS,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"react-wrapper-generator.d.ts","sourceRoot":"","sources":["../src/react-wrapper-generator.ts"],"names":[],"mappings":"AAyCA,KAAK,cAAc,GACf;IAAE,SAAS,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACjC;IAAE,SAAS,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAswBzC,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAqChF"}
|
|
@@ -487,7 +487,7 @@ function generateReactWrapperDts(entries, typeImportState) {
|
|
|
487
487
|
const handlerType = toEventHandlerType((_a = event === null || event === void 0 ? void 0 : event.type) === null || _a === void 0 ? void 0 : _a.text, wrapperTypeState, event === null || event === void 0 ? void 0 : event.description);
|
|
488
488
|
return ` ${handlerName}?: ${handlerType};`;
|
|
489
489
|
});
|
|
490
|
-
declarationLines.push(`export declare const ${name}: React.ForwardRefExoticComponent<`, ` React.PropsWithChildren<`, ` Omit<PublicOf<${name}WC>, 'children' | 'style'> &`, ` HTMLWCProps & {`, ...eventLines, ' }', ` > & React.RefAttributes<${name}WC>`, '>;', '');
|
|
490
|
+
declarationLines.push(`export declare const ${name}: React.ForwardRefExoticComponent<`, ` React.PropsWithChildren<`, ` Omit<PublicOf<${name}WC>, 'children' | 'style'> &`, ` HTMLWCProps & {`, ...eventLines, ' }', ` > & React.RefAttributes<${name}WC>`, '>;', `export type ${name}Ref = ${name}WC;`, '');
|
|
491
491
|
}
|
|
492
492
|
return [
|
|
493
493
|
'/**',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/ts-builder",
|
|
3
3
|
"description": "Typescript builder",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.426.1-alpha-be0ea39.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@custom-elements-manifest/analyzer": "^0.8.2",
|
|
20
|
-
"@genesislcap/build-kit": "14.
|
|
20
|
+
"@genesislcap/build-kit": "14.426.1-alpha-be0ea39.0",
|
|
21
21
|
"consola": "^3.0.2",
|
|
22
22
|
"copyfiles": "^2.4.1",
|
|
23
23
|
"pkg-types": "^1.0.2"
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "abd5cf3021b2fe62d508c514236be208856ff467"
|
|
34
34
|
}
|