# SEE 18.05.2022 Notes
Agreements:
- [ ] Always use explicit return type of a function
- [ ] Check & Add a lint rule about explicit return type of a function
- [ ] Avoid using any - skipping inferring the type is better than any
- [ ] Explore using unknown and never across the team
- [ ] Type unions usage - e.g. hub id + hub id / challenge id + hub id / challenge id / opportunity id
- [ ] Function overloads?
- [ ] In views use fit-for-purpose model (e.g. viewModel)
- [ ] In providers use graphql types
- [ ] DTO type packages per domain / service
###### tags: `SEE`