@cordy/electro-generator 1.2.10 → 1.2.12
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/dist/index.mjs +0 -6
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -99,12 +99,6 @@ function generateBridgeTypes(viewName, features, policy) {
|
|
|
99
99
|
}
|
|
100
100
|
const content = `${HEADER}
|
|
101
101
|
export interface ElectroBridge ${featureTypes.length > 0 ? `{\n${featureTypes.join("\n")}\n }` : "{}"}
|
|
102
|
-
|
|
103
|
-
declare global {
|
|
104
|
-
interface Window {
|
|
105
|
-
electro: ElectroBridge;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
102
|
`;
|
|
109
103
|
return {
|
|
110
104
|
path: `generated/views/${viewName}.bridge.d.ts`,
|
package/package.json
CHANGED