Commit 317c5999 authored by nanahira's avatar nanahira

fix a bit on readme +1

parent 9f092be9
...@@ -27,7 +27,7 @@ class MyOneDice extends OneDice { ...@@ -27,7 +27,7 @@ class MyOneDice extends OneDice {
### Extend operator ### Extend operator
``` ```ts
const onedice = new OneDice() const onedice = new OneDice()
onedice.addOperator(new Operator('+', 1, (a, [o, b]) => a + b)) onedice.addOperator(new Operator('+', 1, (a, [o, b]) => a + b))
``` ```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment