cross-domain-safe-weakmap
cross-domain-safe-weakmap copied to clipboard
Cross-domain safe WeakMap shim
- Codebase is migrated to TypeScript by using https://github.com/Khan/flow-to-ts - Dist folder now outputs esm folder - Package.json update for types & modules - Flowgen is used to generate flow...
This PR adds a new command for publishing alpha releases to npm. ``` npm run release-alpha ``` A new github action was added for running this command.
Hello, I'm getting the flow error on cross-domain-safe-weakmap/dist/module/index.js.flow:20 Using [email protected] ```Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/cross-domain-safe-weakmap/dist/module/index.js.flow:20:43 Unexpected token : 17│ set(key: K, value: V): void | void | void | void; 18│ }...