diff --git a/src/lib/asyncOps.ts b/src/lib/asyncOps.ts index c2c00f7..9521ab6 100644 --- a/src/lib/asyncOps.ts +++ b/src/lib/asyncOps.ts @@ -17,8 +17,8 @@ * * @returns a Promise which should contain `['a','b','c']` */ -export async function asyncABC() { - function somethingSlow(index: 0 | 1 | 2) { +export async function asyncABC () { + function somethingSlow (index: 0 | 1 | 2) { let storage = 'abc'.charAt(index) return new Promise(resolve => { // here we pretend to wait on the network