Skip to content

Commit

Permalink
Add missing class annotations xplat/js [suppressions]
Browse files Browse the repository at this point in the history
Reviewed By: SamChou19815

Differential Revision: D38374117

fbshipit-source-id: 72a5c5f5ee989e0629660dd6e46868675bfb02b6
  • Loading branch information
pieterv authored and facebook-github-bot committed Aug 3, 2022
1 parent ee3d3c2 commit 2e64900
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,15 @@ class RewriteInvalidCharactersAndClearExample extends React.Component<
}

class BlurOnSubmitExample extends React.Component<{...}> {
// $FlowFixMe[missing-local-annot]
ref1 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref2 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref3 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref4 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref5 = React.createRef();

render(): React.Node {
Expand Down Expand Up @@ -249,16 +254,27 @@ class BlurOnSubmitExample extends React.Component<{...}> {
}

class SubmitBehaviorExample extends React.Component<{...}> {
// $FlowFixMe[missing-local-annot]
ref1 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref2 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref3 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref4 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref5 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref6 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref7 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref8 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref9 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref10 = React.createRef();
// $FlowFixMe[missing-local-annot]
ref11 = React.createRef();

render(): React.Node {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class SampleTurboModuleExample extends React.Component<{||}, State> {
};

// Add calls to methods in TurboModule here
// $FlowFixMe[missing-local-annot]
_tests = {
callback: () =>
NativeSampleTurboModule.getValueWithCallback(callbackValue =>
Expand Down

0 comments on commit 2e64900

Please sign in to comment.