Change top-level await usage to not export directly.

This commit is contained in:
Jan Amann 2020-10-30 15:15:38 +01:00
parent 21012d4327
commit 0c0da3a205
1 changed files with 3 additions and 1 deletions

View File

@ -1 +1,3 @@
export default await Promise.resolve(1);
const value = await Promise.resolve(1);
export default value;