Skip to content

Commit

Permalink
Update packages/myths/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
willingc authored Jul 16, 2020
1 parent c06402e commit cb4bd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/myths/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $ npm install --save myths

First, create a `MythicPackage` with a name, a type for its private state, and the initial state.
As an example, the following creates a `MythicPackage` named `"iCanAdd"` which uses the `number`
type for its private state `sum` and an initial state of `sum` as `0:
type for its private state `sum` and an initial state of `sum` as `0`:

```typescript
export const iCanAdd = createMythicPackage("iCanAdd")<
Expand Down

0 comments on commit cb4bd49

Please sign in to comment.