| 84 | } |
| 85 | |
| 86 | const defineParameterType = options => { |
| 87 | const parameterType = buildParameterType(options) |
| 88 | parameterTypeRegistry.defineParameterType(parameterType) |
| 89 | } |
| 90 | |
| 91 | const buildParameterType = ({ name, regexp, transformer, useForSnippets, preferForRegexpMatch }) => { |
| 92 | if (typeof useForSnippets !== 'boolean') useForSnippets = true |
no test coverage detected