diff --git a/types/README.md b/types/README.md index 2b78037..7d1ba7d 100644 --- a/types/README.md +++ b/types/README.md @@ -1,3 +1,16 @@ # @stdext/types -The types package, contains general purpose type helpers +The types package, contains general purpose type helpers. + +## Examples + +```ts +import { ValueOf } from "jsr:@stdext/types"; + +const SOME_MAP = { + a: "b", + c: "d", +}; + +type SomeMapValues = ValueOf; // "b" | "d" +```