SIDE_EFFECT_HINT

tcmts.core.extract.SIDE_EFFECT_HINT · #dyaafkz5 · term · runs anywhere

export const SIDE_EFFECT_HINT =
  "tcm stores definitions, not module side effects: move this statement into a function (e.g. an exported `main`) and call it from an entry file outside the codebase (a statement that only writes into one constant declared above it, filling a table say, goes with that constant)"

used by