Skip to content

Commit

Permalink
Update opaque-reference.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsmnsyc committed Jul 14, 2024
1 parent e091f1e commit 2ad35e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/seroval/src/core/opaque-reference.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
* An opaque reference allows hiding values from the serializer.
*/
export class OpaqueReference<V, R = undefined> {
constructor(
public readonly value: V,
Expand Down

0 comments on commit 2ad35e9

Please sign in to comment.