Skip to content

Commit 21eeaaf

Browse files
committed
docs(README.md): fix typo
1 parent 8aa8730 commit 21eeaaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ const NodeType = t.object<{
413413

414414
But `t.optional(NodeType)` causes the error `Block-scoped variable 'NodeType' referenced before its declaration`.
415415

416-
To work around, this we can create a `TypeAlias` and a reference to it:
416+
To work around this, we can create a `TypeAlias` and a reference to it:
417417

418418
```ts
419419
const NodeType: t.TypeAlias<{

0 commit comments

Comments
 (0)