Skip to content

Commit

Permalink
Added docs for how to import AType and EType (#168)
Browse files Browse the repository at this point in the history
Every time I try to use Opaque normal types in a project I always have to clone the project and search for the import to remember how it's done. Let's add this to the docs to save me and probably others a lot of time trying to figure out how to import this.
  • Loading branch information
jessekelly881 authored Jun 17, 2021
1 parent 98ffb2c commit 5525a2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ Beware that using this with `taggedUnion` (or `tagged` construct) is very ineffi
You may use this pattern

```typescript
import type { AType, EType } from '@morphic-ts/summoners'

const Car_ = summon(F =>
F.interface(
{
Expand Down

0 comments on commit 5525a2c

Please sign in to comment.