In my Angular9 and Angular10 projects I was able to create mixins using the below steps from Harnessing the power of Mixins in
mixins