Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
fix: expose Flow types again (#1857)
Browse files Browse the repository at this point in the history
Summary:
Fixes #1856

edit: it looks like the `recoil-shared` imports are still broken with this PR.

Pull Request resolved: #1857

Reviewed By: drarmstr

Differential Revision: D37069495

Pulled By: mondaychen

fbshipit-source-id: 26a1442b69e644d9a99dcaa15222446ce42ac5a0
  • Loading branch information
FezVrasta authored and facebook-github-bot committed Jun 17, 2022
1 parent f3fcdc8 commit ff58dd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-recoil.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
**_Add new changes here as they land_**

- Cleanup memory leak when using atoms with selector defaults. (#1821, #1840, #1844)
- Fix missing flow types (#1857)

## 0.7.3 (2022-06-01)

Expand Down
4 changes: 2 additions & 2 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ async function buildPackage(target, config) {
createErrorHandler('Failed to copy source files for Flow types')(err);
fs.rename(
`${BUILD_TARGET}/${target}/cjs/${config.inputFile}.flow`,
`${BUILD_TARGET}/${target}/cjs/${target}.js.flow`,
createErrorHandler(`Failed to rename ${target}.js.flow`),
`${BUILD_TARGET}/${target}/cjs/index.js.flow`,
createErrorHandler(`Failed to rename ${config.inputFile}.js.flow`),
);
},
);
Expand Down

0 comments on commit ff58dd4

Please sign in to comment.