mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #33800 from danilobuerger/patch-6
[react-native] allow redeclaring require when node typing is present
This commit is contained in:
Vendored
+4
-2
@@ -9297,9 +9297,11 @@ export const PointPropType: React.Validator<PointPropType>;
|
||||
export const ViewPropTypes: React.ValidationMap<ViewProps>;
|
||||
|
||||
declare global {
|
||||
type ReactNativeRequireFunction = (name: string) => any;
|
||||
interface NodeRequire {
|
||||
(id: string): any;
|
||||
}
|
||||
|
||||
var require: ReactNativeRequireFunction;
|
||||
var require: NodeRequire;
|
||||
|
||||
/**
|
||||
* Console polyfill
|
||||
|
||||
Reference in New Issue
Block a user