Use Array<Foo> instead of Array.<Foo>

This commit is contained in:
Tim Schaub
2018-07-25 18:32:43 -07:00
parent 5a6502572f
commit d12ef20b12
184 changed files with 1194 additions and 1194 deletions

View File

@@ -14,7 +14,7 @@ async function getSymbols() {
/**
* Generate a list of imports.
* @param {Array.<Object>} symbols List of symbols.
* @param {Array<Object>} symbols List of symbols.
* @return {Promise<Array>} A list of imports sorted by export name.
*/
function getImports(symbols) {
@@ -64,9 +64,9 @@ function formatSymbolExport(name, namespaces) {
/**
* Generate export code given a list symbol names.
* @param {Array.<Object>} symbols List of symbols.
* @param {Array<Object>} symbols List of symbols.
* @param {Object.<string, string>} namespaces Already defined namespaces.
* @param {Array.<string>} imports List of all imports.
* @param {Array<string>} imports List of all imports.
* @return {string} Export code.
*/
function generateExports(symbols, namespaces, imports) {