(local: string, sfc: SFCDescriptor)
| 17 | * when not using inline mode. |
| 18 | */ |
| 19 | export function isImportUsed(local: string, sfc: SFCDescriptor): boolean { |
| 20 | return resolveTemplateUsedIdentifiers(sfc).has(local) |
| 21 | } |
| 22 | |
| 23 | const templateAnalysisCache = createCache<{ |
| 24 | usedIds?: Set<string> |
no test coverage detected