UNPKG
@yugu/gogocode
Version:
latest (1.0.55)
1.0.55
1.0.54
The simplest tool to parse/transform/generate code on ast
github.com/thx/gogocode
thx/gogocode
@yugu/gogocode
/
test
/
code
/
simple6.js
11 lines
•
212 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
code
=
`
type
CheckBoxProps
=
{checked:
boolean
,width:number}; let cbp:CheckBoxProps = { checked:
true
, width:
100
}
const
change
=
(props:CheckBoxProps)=>{ setProps(props); } `;
module
.
exports
= code;