diff --git a/src/mockdate.ts b/src/mockdate.ts index 69df367..ee2ce7e 100644 --- a/src/mockdate.ts +++ b/src/mockdate.ts @@ -77,5 +77,6 @@ export default { if (typeof window !== 'undefined') { + // @ts-ignore window.MockDate = MockDate; }