Line a baking pan with baking paper and grease with cooking spray. In a medium saucepan over medium heat, melt chocolate, condensed milk, butter, cream, vanilla, and salt together. Stir until smooth then pour into prepared pan. Top with sprinkles (optional) and refrigerate until set, 2 hours. Cut into squares to serve.