UNPKG

@randsum/notation

Version:

Dice notation parser and types for the @randsum ecosystem

10 lines (8 loc) 248 B
import type { NotationSchema } from '../schema' import { createArithmeticNotation } from './arithmetic' export const plusSchema: NotationSchema<number> = createArithmeticNotation({ name: 'plus', priority: 90, operator: '+', verb: 'Add' })