Don't make getAnalytics the default export, its weird

pull/21833/head
James Salter 2021-07-21 11:23:55 +01:00
parent d9594c428a
commit 7e549f84e7
1 changed files with 1 additions and 1 deletions

View File

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