aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-17 02:14:42 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-17 02:14:42 +0800
commit85a99203d0e85698aaaee25cdbf516175f1cb6e0 (patch)
tree3db09c380185f24c60e10b1d60d219bb750961eb /packages
parent988bb398bcab7153d662d301c5ddac929110e014 (diff)
downloaddexon-sol-tools-85a99203d0e85698aaaee25cdbf516175f1cb6e0.tar
dexon-sol-tools-85a99203d0e85698aaaee25cdbf516175f1cb6e0.tar.gz
dexon-sol-tools-85a99203d0e85698aaaee25cdbf516175f1cb6e0.tar.bz2
dexon-sol-tools-85a99203d0e85698aaaee25cdbf516175f1cb6e0.tar.lz
dexon-sol-tools-85a99203d0e85698aaaee25cdbf516175f1cb6e0.tar.xz
dexon-sol-tools-85a99203d0e85698aaaee25cdbf516175f1cb6e0.tar.zst
dexon-sol-tools-85a99203d0e85698aaaee25cdbf516175f1cb6e0.zip
null -> undefined
Diffstat (limited to 'packages')
-rw-r--r--packages/instant/src/util/heap.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/util/heap.ts b/packages/instant/src/util/heap.ts
index 8e9feb2fa..1871c4abc 100644
--- a/packages/instant/src/util/heap.ts
+++ b/packages/instant/src/util/heap.ts
@@ -78,11 +78,11 @@ const setupZeroExInstantHeap = () => {
};
export const heapUtil = {
- getHeap: (): HeapAnalytics | null => {
+ getHeap: (): HeapAnalytics | undefined => {
const curWindow = getWindow();
const hasOtherExistingHeapIntegration = curWindow.heap && !curWindow.zeroExInstantLoadedHeap;
if (hasOtherExistingHeapIntegration) {
- return null;
+ return undefined;
}
const zeroExInstantHeapIntegration = curWindow.zeroExInstantLoadedHeap && curWindow.heap;