The typings for the inclusion/exclusion patterns are currently any. If you use a string[] rather than a RegExp[] - which I tried doing - right now, your app can't actually make network requests - according to my local testing.
This brings the typings in line with the documentation that says these options should all be RegExp[]
The typings for the inclusion/exclusion patterns are currently
any
. If you use astring[]
rather than aRegExp[]
- which I tried doing - right now, your app can't actually make network requests - according to my local testing.This brings the typings in line with the documentation that says these options should all be
RegExp[]