Add the blueberries, sugar, cornstarch, lemon juice, water, vanilla extract, and salt to a saucepan. Cook over medium heat, stirring often, until the blueberries soften and burst. Continue cooking until the mixture becomes thick and glossy. Set aside and let it cool completely.