Nuvemshop interview question

Quando utilizar as interfaces do Typescript?