{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":638720510,"defaultBranch":"main","name":"keyv","ownerLogin":"mmkal","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-05-10T00:55:14.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/15040698?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1697658187.0","currentOid":""},"activityList":{"items":[{"before":"864bb469ba8fd5435084aadf7e8aa192e7c54923","after":null,"ref":"refs/heads/patch-1","pushedAt":"2023-10-18T19:43:07.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mmkal","name":"Misha Kaletsky","path":"/mmkal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15040698?s=80&v=4"}},{"before":"ed9f487d99647af526dd634029d104f596f5e653","after":"864bb469ba8fd5435084aadf7e8aa192e7c54923","ref":"refs/heads/patch-1","pushedAt":"2023-05-10T01:03:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mmkal","name":"Misha Kaletsky","path":"/mmkal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15040698?s=80&v=4"},"commit":{"message":"Replace `get(...)` with an overload\n\nOne overload with `options?: { raw?: false }` and one with `options: { raw: true }` allows being specific about the return type for each.\r\n\r\nSo, the behavior is unchanged but it becomes easier for external libraries to write an interface with a correct *partial* implementation.\r\n\r\nMy use-case: I'm working on a library that expects a keyv-like object passed in. The user is allowed to pass in a different implementation, as long as the basic `get`, `set` and `delete` exist. But they don't need to provide an implementation for the `{ raw: true }` variant. So, I'm trying to write an interface that corresponds to that, which `new Keyv(...)` conforms to. This is hard/impossible to do without some `as any` hacks right now, but the change in this commit makes it possible.\n\nSigned-off-by: Misha Kaletsky <15040698+mmkal@users.noreply.github.com>","shortMessageHtmlLink":"Replace get<Raw>(...) with an overload"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMC0xOFQxOTo0MzowNy4wMDAwMDBazwAAAAOaUkff","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNS0xMFQwMTowMzoxNS4wMDAwMDBazwAAAAMpfm6F"}},"title":"Activity ยท mmkal/keyv"}