()
| 201 | |
| 202 | export class InternalScope<$ extends {} = {}> extends BaseScope<$> { |
| 203 | get ambientAttachments(): Ark.boundTypeAttachments<$> | undefined { |
| 204 | if (!$arkTypeRegistry.typeAttachments) return |
| 205 | return this.cacheGetter( |
| 206 | "ambientAttachments", |
| 207 | flatMorph($arkTypeRegistry.typeAttachments, (k, v) => [ |
| 208 | k, |
| 209 | this.bindReference(v as {} as BaseRoot | GenericRoot) |
| 210 | ]) as never |
| 211 | ) |
| 212 | } |
| 213 | |
| 214 | protected preparseOwnAliasEntry(alias: string, def: unknown): AliasDefEntry { |
| 215 | const firstParamIndex = alias.indexOf("<") |
nothing calls this directly
no test coverage detected