The name of a decorator, before its arguments.
(text: string)
| 340 | |
| 341 | /** The name of a decorator, before its arguments. */ |
| 342 | function decoratorName(text: string): string { |
| 343 | return text.replace(/\(.*$/s, '').trim(); |
| 344 | } |
| 345 | |
| 346 | /** The first string literal in a decorator's arguments — `'email'` of `@Process('email')`. */ |
| 347 | function decoratorLiteral(text: string): string | null { |
no outgoing calls
no test coverage detected