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
/
simple-ts-1.js
13 lines
(12 loc)
•
240 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
const
code = `
import
*
as
PIXI from
'pixi.js'
; export
class
MainApplication
{
constructor
(options) {
super
(options.baseWidth, options.baseHeight, options); } test(){ PIXI.test(); } } `; module.exports = code;