@samitouri / QOS-React-2 / commits / cccec0e5b2

[be] Don't use nested imports

Sathya Gunasekaran committed Jan 4, 2023 at 21:11 UTC cccec0e5b23e4823d83b7f38a9e8afa6d6b6e6a2
2 files changed +2 -3
compiler/forget/src/CompilerPipeline.ts
+1 -2
@@ -7,8 +7,7 @@
7 import { NodePath } from "@babel/traverse";
8 import * as t from "@babel/types";
9 import { inferMutableRanges, inferReferenceEffects } from "./Inference";
10 -import { Environment, HIRFunction, lower } from "./HIR";
11 -import { ReactiveFunction } from "./HIR/HIR";
10 +import { Environment, HIRFunction, lower, ReactiveFunction } from "./HIR";
11 import {
12 buildReactiveFunction,
13 codegenReactiveFunction,
compiler/forget/src/HIR/index.ts
+1 -1
@@ -6,6 +6,6 @@
6 */
7
8 export { lower } from "./BuildHIR";
9 -export { HIRFunction } from "./HIR";
9 +export { HIRFunction, ReactiveFunction } from "./HIR";
10 export { Environment } from "./HIRBuilder";
11 export { printFunction } from "./PrintHIR";