Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
extends: ['@react-native-community'],
extends: ['@react-native'],
};
3 changes: 1 addition & 2 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ node_modules/react-native/interface.js
node_modules/react-native/flow/

[options]
experimental.global_find_ref=true
enums=true

emoji=true
Expand Down Expand Up @@ -79,4 +78,4 @@ untyped-import
untyped-type-import

[version]
^0.218.0
^0.246.0
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ bundles/

android/gradle
android/gradlew
android/gradlew.bat
android/gradlew.bat

.yarn
4 changes: 2 additions & 2 deletions js/MaskedViewTypes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @flow
import { type Node, type Element } from 'react';
import { type Node } from 'react';
import { type ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes';

export type MaskedViewProps = Partial<ViewProps> &
Expand All @@ -9,7 +9,7 @@ export type MaskedViewProps = Partial<ViewProps> &
* Should be a React element to be rendered and applied as the
* mask for the child element.
*/
maskElement: Element<any>,
maskElement: Node,
/**
* Opt into software rendering to enable animated masks.
*/
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
"types",
"RNCMaskedView.podspec"
],
"dependencies": {},
"devDependencies": {
"@react-native-community/eslint-config": "^3.2.0",
"@react-native/eslint-config": "^0.76.1",
"@types/react-native": "^0.72.8",
"eslint": "^7.20.0",
"eslint": "8",
"eslint-plugin-ft-flow": "^3.0.11",
"flow-bin": "^0.246.0",
"prettier": "^3.3.3",
"react-native": "0.75.3",
Expand All @@ -52,5 +52,6 @@
},
"publishConfig": {
"access": "public"
}
},
"packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
}
Loading