Don't make getAnalytics the default export, its weird

This commit is contained in:
James Salter 2021-07-21 11:23:55 +01:00
parent d9594c428a
commit 7e549f84e7

View file

@ -107,6 +107,6 @@ export class PosthogAnalytics {
}
}
export default function getAnalytics() {
export function getAnalytics(): PosthogAnalytics {
return PosthogAnalytics.instance();
}