refactor(di): use boolean instead of bool