Use let instead of var for exports
This commit is contained in:
committed by
Tim Schaub
parent
0ae5ba2904
commit
c4cf75e470
+879
-878
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -158,7 +158,7 @@ function format(data) {
|
|||||||
|
|
||||||
// add the @typedef
|
// add the @typedef
|
||||||
source += `\n/**\n${comment} */\n`;
|
source += `\n/**\n${comment} */\n`;
|
||||||
source += `export var ${name};\n\n`;
|
source += `export let ${name};\n\n`;
|
||||||
|
|
||||||
const params = data[name].params;
|
const params = data[name].params;
|
||||||
if (!params.length) {
|
if (!params.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user