
Mutable exports, i.e. using this pattern ``` export let x = 0; export function f() { x += 1; } ``` is problematic to transpile to CommonJS and Goog.module systems, we are working on banning it google internal codebase. The workaround is adding an explcit getter function. PR Close #32425
Benchmark Directory Layout
Bazel
Under bazel the rules for laying out test files are slightly different. Use largetable/render3
as an example.
Put the perf file in current subdirectory (ie largetable
) such that the same perf file can be used for each of the sub-subdirectories. (ie largetable/*
should all be testable with the same perf file largetable/largetable_perf.spec.ts
). Under bazel, typescript protractor spec files must end with .spec.ts
or .test.ts
.