Skip to content

Commit

Permalink
refactor: comment improved
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Aug 29, 2023
1 parent 5422cd3 commit 0d51906
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/swingset-liveslots/src/vatDataTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ export type DefineKindOptions<C> = {
*
* In `defineDurableKind` and its siblings, this defaults to `undefined`.
* Exo classes use this internally to protect their raw class methods
* using the provided interface, even if the exo class is not explicitly
* provided with an interfaceGuard.
* using the provided interface.
* In absence, an exo is protected anyway, while a bare kind is
* not (detected by `!thisfulMethods`),
*/
interfaceGuard?: InterfaceGuard;

Expand All @@ -120,8 +121,9 @@ export type DefineKindOptions<C> = {
* class kit.
*
* In `defineDurableKindMulti` and its siblings, this defaults to `undefined`.
* Exo class kits use this internally to protect their facets, even if
* the exo class kit is not explicitly provided with an interfaceGuardKit.
* Exo class kits use this internally to protect their facets.
* In absence, an exo is protected anyway, while a bare kind is
* not (detected by `!thisfulMethods`),
*/
interfaceGuardKit?: Record<string, InterfaceGuard>;
};
Expand Down

0 comments on commit 0d51906

Please sign in to comment.