-
-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(ts3.8): fix ts3.8 type check test to not include dom types (#4238)
- Loading branch information
1 parent
d2c32bb
commit eb1e19f
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,26 @@ | ||
declare global { | ||
interface History {} | ||
interface IDBObjectStore {} | ||
interface Window { | ||
fetch: any; | ||
} | ||
interface ShadowRoot {} | ||
interface BufferSource {} | ||
interface PerformanceResourceTiming { | ||
decodedBodySize: any; | ||
encodedBodySize: any; | ||
duration: any; | ||
domInteractive: any; | ||
domContentLoadedEventEnd: any; | ||
domContentLoadedEventStart: any; | ||
loadEventStart: any; | ||
loadEventEnd: number; | ||
domComplete: number; | ||
redirectCount: number; | ||
} | ||
interface PerformanceEntry {} | ||
} | ||
import 'react-native'; | ||
|
||
// we need to import the SDK to ensure tsc check the types | ||
import * as _Sentry from '@sentry/react-native'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters