chore: declare toBeGolden
to TypeScript
#6080
+11
−48
Merged