A written template argument as it compares: spaced only between words.
(arg: string)
| 334 | |
| 335 | /** A written template argument as it compares: spaced only between words. */ |
| 336 | function argumentKey(arg: string): string { |
| 337 | return arg.replace(/\s*([^\w\s])\s*/g, '$1').replace(/\s+/g, ' '); |
| 338 | } |
| 339 | |
| 340 | const slotKey = (slot: Slot): string => `${slot.template.key}#${slot.index}#${slot.template.pattern?.join() ?? ''}`; |
| 341 |
no outgoing calls
no test coverage detected