mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Export ValueKind and Effect
We need to be able to reference these to teach the compiler about custom hooks like Relay.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
import { wasmFolder } from "@hpcc-js/wasm";
|
||||
import path from "path";
|
||||
import runReactForgetBabelPlugin from "../Babel/RunReactForgetBabelPlugin";
|
||||
import { Effect, ValueKind } from "../HIR";
|
||||
import { Effect, ValueKind } from "../index";
|
||||
import { toggleLogging } from "../Utils/logger";
|
||||
import generateTestsFromFixtures from "./test-utils/generateTestsFromFixtures";
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ export {
|
||||
ErrorSeverity,
|
||||
} from "./CompilerError";
|
||||
export { compile, CompilerPipelineValue, run } from "./CompilerPipeline";
|
||||
export { printHIR } from "./HIR";
|
||||
export { Effect, printHIR, ValueKind } from "./HIR";
|
||||
export { printReactiveFunction } from "./ReactiveScopes";
|
||||
|
||||
declare global {
|
||||
|
||||
Reference in New Issue
Block a user