Export Get Undefined
情况说明:
a.ts:
export const xx = "123";
b.ts:
import { xx } from "a";
console.log(xx); // got undefined
这个一般是循环引用导致的
Be the first to know when I post cool stuff
Subscribe to get my latest posts by email.
Thanks for signing up! Check your email to confirm your subscription.
Whoops, we weren't able to process your signup.