-
Reduce oven temperature to 325 degrees.
-
Place coconut on a rimmed baking sheet and bake, tossing occasionally, until lightly golden, about 10 minutes. Set aside.
-
Prepare an ice bath and set aside. In a bowl, lightly whisk egg yolks and set aside. In a medium saucepan, whisk together coconut milk, sugar, cornstarch, and salt. Bring to a simmer (do not boil), and cook, whisking constantly, 3 to 4 minutes.
-
Whisk one quarter of milk mixture into the egg yolks, then whisk in the remaining milk mixture. Strain into a clean saucepan, and cook on medium-high heat, whisking constantly, until custard is thick, approximately 2 to 3 minutes.
-
Transfer custard to a medium bowl, and cover with plastic wrap, pressing it directly onto surface to prevent it from skinning over. Place in the ice bath until completely chilled, 30 to 35 minutes.
-
Melt chocolate. Using a pastry brush, coat the inside of the cooled crust with the melted chocolate. Refrigerate until chocolate is firm. Fill crust with coconut custard and spread evenly.