CreateScopeOptions
export type CreateScopeOptions<T extends Scope context interface = Scope context interface> = {
kind: T[“kind”];
name: string;
parent?: Scope context interface | undefined;
flags?: OutputScopeFlags;
owner?: MemberDeclaration context interface;
metadata?: Record<string, unknown>;
} & Omit<T, keyof Scope context interface>;