Demo for draft-dsl-match, used in https://mistlog.github.io/typedraft-docs/docs/#dsl.
This project can also be used as template project for typedraft.
> npm run buildThen you get file vector.ts in src and see vector1 as output in console.
For more examples, see ts-pattern.test.tsx.