Skip to content

Commit

Permalink
Upgrade Flow to 0.2 (facebook#4264)
Browse files Browse the repository at this point in the history
  • Loading branch information
zurfyx authored Apr 5, 2023
1 parent d835a4b commit 9f297fa
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
6 changes: 5 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.*/npm/.*
.*/.tempUserDataDir/.*
.*/node_modules/.*
.*/libdefs/.*

[include]
./packages/
Expand Down Expand Up @@ -112,11 +113,14 @@ suppress_type=$FixMe
suppress_type=$FlowExpectedError

[libs]
./libdefs/
./libdefs/yjs.js
./scripts/flow/environment.js
./flow-typed/yjs.js
./flow-typed/prism.js

[strict]
nonstrict-import
unclear-type

[version]
^0.203.0
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"flow-bin": "^0.171.0",
"flow-bin": "^0.203.1",
"fs-extra": "^10.0.0",
"gen-flow-files": "^0.4.11",
"glob": "^7.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/lexical-react/flow/LexicalContentEditable.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import * as React from 'react';

export type Props = $ReadOnly<{
...$Partial<HTMLDivElement>,
...Partial<HTMLDivElement>,
ariaActiveDescendant?: HTMLDivElement['aria-activedescendant'],
ariaAutoComplete?: HTMLDivElement['aria-autocomplete'],
ariaControls?: HTMLDivElement['aria-controls'],
Expand Down

0 comments on commit 9f297fa

Please sign in to comment.