Here is the context multiformats/js-multiformats#66
Generally it sucks to point types to dist/types/index.d.ts and then not have it in released package. Ideally ipjs would publish package directory itself as opposed to generated directory.
Current behavior also breaks typedef mappings.