We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5d36ce commit b7d1004Copy full SHA for b7d1004
test/e2e/index.ts
@@ -1,8 +1,8 @@
1
-import Leanplum from './dist/leanplum'
+declare const Leanplum: any
2
3
const isProdKey = (accessKey: string): boolean => /^prod_/.test(accessKey)
4
5
-const d = (Leanplum as any)._lp._browserDetector;
+const d = Leanplum._lp._browserDetector;
6
const browser = `${d.browser} ${d.version}, running on ${d.OS}`;
7
$('#browserVersion').text(browser);
8
0 commit comments