File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
5858const isIE = ( typeof window !== 'undefined' && window . navigator . msSaveOrOpenBlob && window . Blob ) as boolean ;
5959
6060const 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
You can’t perform that action at this time.
0 commit comments