
These benchmarks take the output of AoT and manually tweaks it to explore possible future changes to the compiler to produce this output directly.
8 lines
215 B
TypeScript
8 lines
215 B
TypeScript
import {TreeNode, emptyTree} from '../util';
|
|
|
|
export class TreeRootComponent { data: TreeNode = emptyTree; }
|
|
|
|
export class TreeBranchComponent { data: TreeNode; }
|
|
|
|
export class TreeLeafComponent { data: TreeNode; }
|