prettier/tests/flow/async/async_promise.js

4 lines
69 B
JavaScript

async function f(): Promise<number> {
return Promise.resolve(1);
}