Skip to content

Commit 605e054

Browse files
EqualMadcodeIO
authored andcommitted
Fix export aliases in generated definitions (AssemblyScript#847)
1 parent 3dd6930 commit 605e054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ export class TSDBuilder extends ExportsWalker {
509509
indent(sb, this.indentLevel);
510510
sb.push("export const ");
511511
sb.push(name);
512-
sb.push(" = typeof ");
512+
sb.push(": typeof ");
513513
sb.push(originalName);
514514
sb.push(";\n");
515515
}

0 commit comments

Comments
 (0)