Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: cross-version placeholder support (#3463)
- Loading branch information
1 parent
c2a4b95
commit 3225400
Showing
3 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import _placeholder from './_placeholder.js'; | ||
|
||
export default function _isPlaceholder(a) { | ||
return a === _placeholder; | ||
return a != null && | ||
typeof a === 'object' && | ||
a['@@functional/placeholder'] === true; | ||
} |
This file was deleted.
Oops, something went wrong.