[CLEANUP] update prettier to v2.0.4

This commit is contained in:
Géry Debongnie
2020-04-21 15:08:53 +02:00
committed by aab-odoo
parent b5c3422b4d
commit c36333dbbc
61 changed files with 646 additions and 645 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ afterEach(() => {
function children(w: Component): Component[] {
const childrenMap = w.__owl__.children;
return Object.keys(childrenMap).map(id => childrenMap[id]);
return Object.keys(childrenMap).map((id) => childrenMap[id]);
}
describe("async rendering", () => {
@@ -404,7 +404,7 @@ describe("async rendering", () => {
}
class ChildB extends Component {
willStart(): any {
return new Promise(function() {});
return new Promise(function () {});
}
}
class Parent extends Component {