Commit b976396
fix: use globalThis cast to avoid TS error for Office global
typeof Office causes a TS error in files without declare const Office.
Use typeof (globalThis as any).Office instead.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 64fbe4d commit b976396
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
0 commit comments