export interface TraitKey { key: symbol; __type?: T; } export function createTraitKey(name: string): TraitKey { return { key: Symbol(name), }; }