UNPKG
@swc-node/register
Version:
latest (1.11.1)
1.11.1
1.10.10
1.10.9
1.10.8
1.10.7
1.10.6
1.10.5
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.2
1.9.1
1.9.0
1.8.0
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.8
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.5.3
0.5.1
0.5.0
0.4.11
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.12
0.1.11
0.1.9
0.1.8
0.1.7
0.1.6
0.1.0
SWC node register
github.com/Brooooooklyn/swc-node
Brooooooklyn/swc-node
@swc-node/register
/
lib
/
register.d.ts
5 lines
(4 loc)
•
164 B
TypeScript
View Raw
1
2
3
4
5
import
*
as
ts
from
'typescript'
;
export
declare
function
register
(
options
?:
Partial
<ts.
CompilerOptions
& { fallbackToTs: (path:
string
) =>
boolean
; }>
):
void
;