Skip to content

Commit a0aa536

Browse files
Change Unit representaiton from {} to undefined (#267)
* Change Unit representaiton from `{}` to `undefined` * Update changelog
1 parent 68f8012 commit a0aa536

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ New features:
1111
Bugfixes:
1212

1313
Other improvements:
14+
- Changed `unit`'s FFI representation from `{}` to `undefined` (#267 by @JordanMartinez)
1415

1516
## [v5.0.1](https://github.com/purescript/purescript-prelude/releases/tag/v5.0.1) - 2021-05-11
1617

src/Data/Unit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"use strict";
22

3-
exports.unit = {};
3+
exports.unit = undefined;

0 commit comments

Comments
 (0)