(input: string)
| 27 | * Does not recurse: `@@foo` becomes `@foo`, not `foo`. |
| 28 | */ |
| 29 | export function stripAtPrefix(input: string): string { |
| 30 | const unquoted = stripWrappingQuotes(input); |
| 31 | return unquoted.startsWith("@") ? unquoted.slice(1) : unquoted; |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Resolve an `@`-prefixed user input by trying the stripped form first |
no test coverage detected