Skip to content

Commit 4bbf99e

Browse files
committed
change ts expect to ignore
1 parent 772010d commit 4bbf99e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/AddToCalendar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function isMobile() {
5454
return false;
5555
}
5656

57-
// @ts-expect-error TODO: replace deprecated method
57+
// @ts-ignore (expect-error breaks in GH actions) TODO: replace deprecated method
5858
const isIE = (typeof window !== 'undefined' && window.navigator.msSaveOrOpenBlob && window.Blob) as boolean;
5959

6060
const getCurrentURL = () => {
@@ -201,7 +201,7 @@ export const AddToCalendar: FC<AddToCalendarProps> = ({
201201
const blob = new Blob([url], { type: 'text/calendar;charset=utf-8' });
202202

203203
if (isIE) {
204-
// @ts-expect-error TODO: replace deprecated method
204+
// @ts-ignore (expect-error breaks in GH actions) TODO: replace deprecated method
205205
window.navigator.msSaveOrOpenBlob(blob, filename);
206206
} else {
207207
// many browsers do not properly support downloading data URIs

0 commit comments

Comments
 (0)