UNPKG
acorn-jsx
Version:
latest (5.3.2)
5.3.2
5.3.1
5.3.0
5.2.0
5.1.0
5.0.2
5.0.1
5.0.0
4.1.1
4.1.0
4.0.1
4.0.0
3.0.1
3.0.0
2.0.1
2.0.0
1.0.3
1.0.2
1.0.1
1.0.0
0.11.1-4
0.11.1-3
0.11.1-2
0.11.1-1
0.9.1-8
0.9.1-7
0.9.1-6
0.9.1-5
0.9.1-4
0.9.1-3
0.9.1-2
0.9.1-1
0.7.1-3
0.7.1-2
0.6.1
0.6.1-3
0.6.1-2
0.6.1-1
Modern, fast React.js JSX parser
github.com/acornjs/acorn-jsx
acornjs/acorn-jsx
acorn-jsx
/
index.d.ts
13 lines
(9 loc)
•
262 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
{
Parser
}
from
'acorn'
declare
const
jsx
:
(
options
?: jsx.
Options
) =>
(
BaseParser
:
typeof
Parser
) =>
typeof
Parser
;
declare
namespace
jsx
{
interface
Options
{
allowNamespacedObjects
?:
boolean
;
allowNamespaces
?:
boolean
; } }
export
= jsx;