chore: run clang-format on code base.
This fixes several minor indentation issues (instanceof precendence, type declaration specificity, template string length calculation). This should also fix some flip-flop situations with template strings.
This commit is contained in:
@ -10,9 +10,8 @@ export var StringMap = global.Object;
|
||||
var createMapFromPairs: {(pairs: List<any>): Map<any, any>} = (function() {
|
||||
try {
|
||||
if (new Map([1, 2]).size === 2) {
|
||||
return function createMapFromPairs(pairs: List<any>): Map<any, any> {
|
||||
return new Map(pairs);
|
||||
};
|
||||
return function createMapFromPairs(pairs: List<any>):
|
||||
Map<any, any> { return new Map(pairs); };
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user