adding "dist/build".
Using proper type aliases.