WebOfTrust/keria#369 and subsequent PRs we resolve a lot of the typing in the app directory, so this is a ticket to track improving the typing in the src/keri/core directory.
There may be some overlap/dependencies or cases where we can use Pick and Omit to extract parts of the generated types.
In general:
unknown or Record<string, unknown> should be preferred over any if we truly cannot type it.
- The
Dict interface should be removed in favour of Record<string, unknown> as it has only been used as Dict<any> to be similar to keripy, but isn't idiomatic to TS.
- Everything else should have a type.