Skip to content

Commit

Permalink
feat(identity): rename exported uri
Browse files Browse the repository at this point in the history
In order to export the URI of any instance, they should be uniquely named. While URIs should
typically not be used directly, they may be valuable when writing adaptors.

BREAKING CHANGE: URI is now exported from Identity as MAYBE_URI (constant) and MaybeURI (type)
  • Loading branch information
williamareynolds committed Jan 4, 2020
1 parent c7c6ebd commit 8c51b66
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/instance/Identity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ declare module '../HKT' {
}
}

export const URI = 'Identity'
export type URI = typeof URI
const URI = 'Identity'
type URI = typeof URI

export const IDENTITY_URI = URI
export type IdentityURI = URI

/**
* A simple wrapper around a value which provides no special behavior.
Expand Down

0 comments on commit 8c51b66

Please sign in to comment.