Skip to content

Correctly check presence of exports#62

Open
oxixes wants to merge 1 commit into
conwetlab:masterfrom
oxixes:patch-2
Open

Correctly check presence of exports#62
oxixes wants to merge 1 commit into
conwetlab:masterfrom
oxixes:patch-2

Conversation

@oxixes
Copy link
Copy Markdown

@oxixes oxixes commented Feb 29, 2024

exports is checked incorrectly, as typeof won't ever return null. If the variable doesn't exist it will return "undefined".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant