Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Only invoke
destroy
if it exists
Fixes a bug, where it crashes if `destroy` isn't passed. Adheres to the TypeScript typings, where `destroy` is optional
- Loading branch information