Skip to content

refactor: use optional chaining for options#117

Open
Phillip9587 wants to merge 1 commit intojshttp:masterfrom
Phillip9587:optional-chaining
Open

refactor: use optional chaining for options#117
Phillip9587 wants to merge 1 commit intojshttp:masterfrom
Phillip9587:optional-chaining

Conversation

@Phillip9587
Copy link
Contributor

Simplifies contentDisposition() by replacing the temporary var opts = options || {} pattern with optional chaining

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