We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2014ea4 commit 7594045Copy full SHA for 7594045
src/tlb-runtime/TLBRuntime.ts
@@ -88,7 +88,7 @@ export class TLBRuntime<T extends ParsedCell = ParsedCell> {
88
const tree = ast(tlbSource);
89
const code = getTLBCodeByAST(tree, tlbSource);
90
const pared = tlbSource.split('=');
91
- const lastTypeName = pared[pared.length - 1].split(';')[0].trim();
+ const lastTypeName = pared[pared.length - 1].split(';')[0].trim().split(' ')[0].trim();
92
if (lastTypeName) {
93
return {
94
ok: true,
0 commit comments