Skip to content

Instantly share code, notes, and snippets.

Created Apr 1, 2020
What would you like to do?
export function getToken() {
return new Promise((resolve) => resolve('token'))
import { getToken } from './auth';
const init = async () => {
const token = await getToken();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment