diff --git a/src/types/utils.ts b/src/types/utils.ts index 34e14cb..daaddd7 100644 --- a/src/types/utils.ts +++ b/src/types/utils.ts @@ -30,7 +30,7 @@ export type Nullable = T | null | undefined; /** * no-doc - This is a helper for `Nominal` and is not useful on its own */ -export declare class Tagged { private _nominal_: N; } +export declare class Tagged { protected _nominal_: N; } /** * Constructs a nominal type of type `T`. * Useful to prevent any value of type `T` from being used or modified in places it shouldn't (think `id`s).