https://github.com/mistlog/typedraft-template
Template project for typedraft
https://github.com/mistlog/typedraft-template
Last synced: about 1 year ago
JSON representation
Template project for typedraft
- Host: GitHub
- URL: https://github.com/mistlog/typedraft-template
- Owner: mistlog
- License: mit
- Created: 2021-01-14T15:47:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-14T15:47:24.000Z (over 5 years ago)
- Last Synced: 2025-02-01T15:31:07.512Z (over 1 year ago)
- Language: TypeScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DSL Match Demo
Demo for [draft-dsl-match](https://github.com/mistlog/draft-dsl-match/tree/develop), used in [https://mistlog.github.io/typedraft-docs/docs/#dsl](https://mistlog.github.io/typedraft-docs/docs/#dsl).
This project can also be used as template project for typedraft.
# Build
```shell
> npm run build
```
Then you get file `vector.ts` in `src` and see `vector1` as output in console.
For more examples, see [ts-pattern.test.tsx](https://github.com/mistlog/draft-dsl-match/blob/develop/src/ts-pattern.test.tsx).