Skip to content

Commit

Permalink
Fixed space
Browse files Browse the repository at this point in the history
  • Loading branch information
papafe authored and kraenhansen committed Mar 3, 2023
1 parent c24d0da commit 7b00fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/realm/src/assert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { AssertionError, DefaultObject, Realm, TypeAssertionError, binding } fro
/**
* Expects the condition to be truthy
* @throws {@link Error} If the condition is not truthy. Throws either the {@link err} given as param if it's an {@link Error},
* an {@link AssertionError} wrapping {@link err} if it's a string or undefined, or uses the result of invoking {@link err} if it's a function.
* an {@link AssertionError} wrapping {@link err} if it's a string or undefined, or uses the result of invoking {@link err} if it's a function.
* @param condition The condition that must be truthy to avoid throwing.
* @param err Optional message or error to throw.
* Or a function producing this, which is useful to avoid computing the error message in case it's not needed.
Expand Down

0 comments on commit 7b00fba

Please sign in to comment.