(reference: string)
| 70 | } |
| 71 | |
| 72 | canResolve(reference: string): boolean { |
| 73 | if (!isReference(reference)) { |
| 74 | return false |
| 75 | } |
| 76 | const parts = parseReferencePath(reference) |
| 77 | if (parts.length === 0) { |
| 78 | return false |
| 79 | } |
| 80 | const [type] = parts |
| 81 | return !(SPECIAL_REFERENCE_PREFIXES as readonly string[]).includes(type) |
| 82 | } |
| 83 | |
| 84 | resolve(reference: string, context: ResolutionContext): any { |
| 85 | const parts = parseReferencePath(reference) |
nothing calls this directly
no test coverage detected