Skip to content

assertMemberOfScope

import { assertMemberOfScope } from "@alloy-js/csharp";
function assertMemberOfScope<T extends unknown[]>(scope: CSharpOutputScope, names: T): asserts scope is CSharpMemberScope & {
name: T[number];
};
scope

CSharpOutputScope

names

T

asserts scope is [unresolved link] & { name: T[number]; }