Skip to content
Draft
Prev Previous commit
Next Next commit
Merge branch 'main' into experiment-monomorphic-node
  • Loading branch information
dragomirtitian authored Jun 28, 2024
commit 8a434267f0c906e62b01adf89674cb057bea5e55
5 changes: 5 additions & 0 deletions src/compiler/factory/nodeFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,13 +474,18 @@ export const enum NodeFactoryFlags {
}

const nodeFactoryPatchers: ((factory: NodeFactory) => void)[] = [];
<<<<<<< experiment-monomorphic-node
type NodeData<T extends Node> =
& Readonly<Omit<T, keyof Identifier>>
& Mutable<Pick<T, Extract<keyof Identifier, keyof T>>>
& {
data: Partial<Mutable<Omit<T, Extract<keyof T, `_${string}`> | Exclude<keyof Identifier, "localSymbol">>>> | undefined;
};
/** @internal */
=======

/** @internal @knipignore */
>>>>>>> main
export function addNodeFactoryPatcher(fn: (factory: NodeFactory) => void) {
nodeFactoryPatchers.push(fn);
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.