Skip to content

Commit

Permalink
Merge pull request #114 from andnp/Fix-Nominal
Browse files Browse the repository at this point in the history
fix: emit nominal tag in declaration
  • Loading branch information
andnp authored Jul 22, 2019
2 parents a6be588 + 2aa3f80 commit 7d922f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type Nullable<T> = T | null | undefined;
/**
* no-doc - This is a helper for `Nominal` and is not useful on its own
*/
export declare class Tagged<N extends string> { private _nominal_: N; }
export declare class Tagged<N extends string> { 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).
Expand Down

0 comments on commit 7d922f5

Please sign in to comment.