diff --git a/src/utils.ts b/src/utils.ts index a09bf56..3591e44 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -24,6 +24,7 @@ export function isCommonType(type: string): boolean { 'string', 'number', 'bigint', + '\\d+', 'boolean', 'object', 'array', diff --git a/test/mult.md b/test/mult.md index c971756..9e08cbc 100644 --- a/test/mult.md +++ b/test/mult.md @@ -20,6 +20,7 @@ This is a description of the Third component |------|-------------|------|---------| | size | size of component | 'default' / 'small' / 'large' | default | | type | type of component | 'primary' \| 'success' \| 'warning' \| 'danger' || +| count | count number | 1 / 2 / 3 / 4 / 5 | 2 |