Once #793 is done, we can enforce that the example tags which contain twoslash directives in them compile appropriately using: import { twoslasher } from "@typescript/twoslash";
We can extend our eslint plugin rules to run this check and then appropriately throw lint errors when examples don't compile. This would protect us during refactors and makes sure that there are no typos in the examples
Once #793 is done, we can enforce that the
example
tags which containtwoslash
directives in them compile appropriately using:import { twoslasher } from "@typescript/twoslash";
We can extend our eslint plugin rules to run this check and then appropriately throw lint errors when examples don't compile. This would protect us during refactors and makes sure that there are no typos in the examples