Use let instead of var for exports

This commit is contained in:
Andreas Hocevar
2018-02-12 10:13:11 +01:00
committed by Tim Schaub
parent 0ae5ba2904
commit c4cf75e470
2 changed files with 880 additions and 879 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -158,7 +158,7 @@ function format(data) {
// add the @typedef
source += `\n/**\n${comment} */\n`;
source += `export var ${name};\n\n`;
source += `export let ${name};\n\n`;
const params = data[name].params;
if (!params.length) {