(s: string)
| 33 | const BARE_ALIAS_RE = /^=\s*([A-Za-z_$][\w$]*)\s*(?:as\s+[\w.<>[\]]+\s*)?;?$/; |
| 34 | |
| 35 | function escapeRegExp(s: string): string { |
| 36 | return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * The symbol name an alias binding forwards to, or null when the initializer is |