The error surface a bare local resolves to when the service interface has no member at that key — a required, unsatisfiable field, so the whole contract argument fails to type-check at the call.
modelslocal
Source src/Hyperlink.ts:17714 lines
export interface interface LocalNeedsType<K extends PropertyKey>The error surface a bare
local
resolves to when the service interface has no member at that
key — a required, unsatisfiable field, so the whole contract argument fails to type-check at the
call.
LocalNeedsType<function (type parameter) K in LocalNeedsType<K extends PropertyKey>K extends type PropertyKey =
| string
| number
| symbol
PropertyKey> {
readonly [const localNeedsTypeSym: typeof localNeedsTypeSymlocalNeedsTypeSym]: `Hyperlink.local at '${function (type parameter) K in LocalNeedsType<K extends PropertyKey>K & string}' has no type — add '${function (type parameter) K in LocalNeedsType<K extends PropertyKey>K &
string}' to the service interface, or use local<T>()`;
}
Referenced by 1 symbols