Use let instead of var for exports
This commit is contained in:
1 parent
0ae5ba2904
commit
c4cf75e470
2 files changed
+880
-879
No files matched your search
+879
-878
File diff suppressed because it is too large.
Load diff
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user