X-Git-Url: https://git.kianting.info/?a=blobdiff_plain;f=src%2Fparser.ts;h=5521491c4b5dfc8991f2f40060a540d21802af2a;hb=57082c36744a10f24cc06bea56ca6e6bb2779734;hp=269b698343ee2a3b4c7b65c25313a7b3db45064c;hpb=4064e597019df41eabbe7bf662a8f2ba16bda44a;p=clo diff --git a/src/parser.ts b/src/parser.ts index 269b698..5521491 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -273,7 +273,7 @@ export function treeToJS(tree : tkTree): string{ let importsText = imports.map( (x)=>{ if (Array.isArray(x)){ - return x.join(''); + return x.join('') + ';'; } else{ return x;