( def: string, opts: BaseParseOptions )
| 253 | } |
| 254 | |
| 255 | parseGenericParams( |
| 256 | def: string, |
| 257 | opts: BaseParseOptions |
| 258 | ): array<GenericParamDef> { |
| 259 | return parseGenericParamName( |
| 260 | new Scanner(def), |
| 261 | [], |
| 262 | this.createParseContext({ |
| 263 | ...opts, |
| 264 | def, |
| 265 | prefix: "generic" |
| 266 | }) |
| 267 | ) |
| 268 | } |
| 269 | |
| 270 | protected normalizeRootScopeValue(resolution: unknown): unknown { |
| 271 | if (isThunk(resolution) && !hasArkKind(resolution, "generic")) |
no test coverage detected