For each property in type T:
T
$id
interface MathFns { add: (a: number, b: number) => number; version: string;}type MathWithId = NowId<MathFns>;// {// add: (context: { $id: string, annotation?: string }, a: number, b: number) => number;// version: string;// } Copy
interface MathFns { add: (a: number, b: number) => number; version: string;}type MathWithId = NowId<MathFns>;// {// add: (context: { $id: string, annotation?: string }, a: number, b: number) => number;// version: string;// }
For each property in type
T:$idcontext parameter.