refactor(di): use boolean instead of bool

other modules use boolean, so should di