( read: unknown, kind: KindBits, lacked: ReadonlySet<string> )
| 6374 | // build has no source for, like `res.json`, only what composes a Type or a |
| 6375 | // build drops is read |
| 6376 | const isUnsureRead = ( |
| 6377 | read: unknown, |
| 6378 | kind: KindBits, |
| 6379 | lacked: ReadonlySet<string> |
| 6380 | ): boolean => |
| 6381 | typeof read === "string" && |
| 6382 | isUnavailableTypeMember(read, lacked) && |
| 6383 | (kind & kinds.type ? !isOnlyType(kind) |
| 6384 | : kind & kinds.unknown ? !isContainerMethod(read) |
| 6385 | : !!(kind & kinds.opaque) && |
| 6386 | !isContainerMethod(read) && |
| 6387 | !includes(introspectionMembers, read)) |
| 6388 | |
| 6389 | // e.g. `in`, which reads a Type off any Type |
| 6390 | export const isTypeOnlyMember = (name: PropertyKey): boolean => |
no test coverage detected