@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.
Files changed (2) hide show
  1. package/dist/index.mjs +0 -6
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cordy/electro-generator",
3
- "version": "1.2.10",
3
+ "version": "1.2.12",
4
4
  "description": "Code generator for @cordy/electro — scans features and emits preload scripts and bridge types",
5
5
  "license": "MIT",
6
6
  "type": "module",