UNPKG
@swc/react-compiler
Version:
latest (1.13.20)
nightly (1.13.20-nightly-20250927.1)
1.13.20
1.13.20-nightly-20250927.1
1.13.20-nightly-20250926.1
1.13.19-nightly-20250925.1
1.13.18-nightly-20250924.1
1.13.15-nightly-20250924.1
1.13.14-nightly-20250924.2
1.13.5
1.13.5-nightly-20250824.1
1.13.4
1.13.4-nightly-20250821.1
1.13.3
1.13.3-nightly-20250729.1
1.13.2
1.13.2-nightly-20250722.1
1.13.1
1.13.1-nightly-20250719.1
1.13.0
1.13.0-nightly-20250717.1
1.12.15-nightly-20250717.1
1.12.14
1.12.14-nightly-20250714.2
1.12.11
1.12.11-nightly-20250708.1
1.12.9
1.12.9-nightly-20250701.1
1.12.8-nightly-20250701.1
1.12.7
1.12.7-nightly-20250626.1
1.12.6
1.12.6-nightly-20250623.3
1.12.6-nightly-20250623.2
1.12.5
1.12.5-nightly-20250621.1
1.12.4
1.12.4-nightly-20250619.2
1.12.3
1.12.3-nightly-20250619.2
1.12.3-nightly-20250619.1
1.12.2
1.12.2-nightly-20250619.3
1.12.2-nightly-20250619.2
1.11.26-nightly-20250512.1
SWC support for React Compiler
swc.rs
swc-project/swc
@swc/react-compiler
/
index.d.ts
10 lines
(9 loc)
•
220 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/// <reference types="node" />
/** * TODO */
export
declare
function
isReactCompilerRequired
(
code
:
Buffer
):
Promise
<
boolean
>;
/** * TODO */
export
declare
function
isReactCompilerRequiredSync
(
code
:
Buffer
):
boolean
;