Put the milk in a medium saucepan over a medium heat. Add the cornflour and sugar and whisk together. Continue cooking for about 10 minutes until thickened and smooth, whisking regularly.
Remove from the heat and stir in the vanilla extract. Serve warm.