Line an eight-inch square baking dish with parchment paper, leaving generous overhang handles.
Stir shredded coconut, sweetened condensed milk, vanilla extract, and salt in a bowl.
Press coconut mixture firmly into the bottom of prepared baking dish in uniform layer.
Freeze pressed coconut base for fifteen minutes until cold and solidly set.
Melt chocolate chips and coconut oil in a microwave bowl in thirty-second increments.
Pour smooth melted chocolate over chilled coconut layer, spreading evenly with an offset spatula.
Garnish with toasted coconut flakes and chill in refrigerator for thirty minutes before slicing.