Skip to content

Commit 16f8376

Browse files
authored
Remove extraneous paragraph from README
1 parent 666ff2d commit 16f8376

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -273,15 +273,6 @@ previous step, we get a value which might be any one of the object's values, and
273273
the union of the types of the object's values. Hence, `Enum<typeof Enum("RUNNING", "STOPPED")>`
274274
evaluates to `"RUNNING" | "STOPPED"`, which is what we want.
275275

276-
By contrast, the type definition for the case which takes an object of keys and values is
277-
278-
``` javascript
279-
function Enum<
280-
T extends { [_: string]: V },
281-
V extends string
282-
>(definition: T): T
283-
```
284-
285276
## Acknowledgements
286277

287278
This libary is heavily inspired by posts in

0 commit comments

Comments
 (0)