import UserSettings from '../infra/typeorm/entities/UserSettings' ; interface IUsersRepository { save ( data ) : Promise < UserSettings > ; findOrCreate ( id ) : Promise < UserSettings | undefined > ; } export default IUsersRepository ;