Skip to content

Commit aa3a6cf

Browse files
committed
Remove flow last occurence
1 parent 4fb7f8f commit aa3a6cf

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

.github/workflows/continuous-integration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- run: yarn install --frozen-lockfile
1414
- run: yarn run test
1515
- run: yarn run lint
16-
- run: yarn run flow
16+
- run: yarn run tsc --noEmit
1717
- run: yarn run smoke cjs 19.0.0
1818
- run: yarn run smoke esm 19.0.0
1919
- run: yarn run smoke cjs latest

.npmignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
**/*.spec.js
2-
**/*.spec.js.flow
32

43
.github/
54
!dist/
@@ -9,7 +8,6 @@ tests/
98
.babelrc
109
.eslintignore
1110
.eslintrc.js
12-
.flowconfig
1311
.travis.yml
1412
.prettier
1513
.prettierignore

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@
8484
"@base2/pretty-print-object": "1.0.2"
8585
},
8686
"jest": {
87-
"setupFilesAfterEnv": ["<rootDir>tests/setupTests.ts"]
87+
"setupFilesAfterEnv": [
88+
"<rootDir>tests/setupTests.ts"
89+
]
8890
}
8991
}

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default {
3131
presets: [
3232
'@babel/preset-env',
3333
'@babel/preset-react',
34-
'@babel/preset-flow',
34+
'@babel/preset-typescript',
3535
],
3636
}),
3737
resolve({

src/formatter/formatPropValue.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ const formatPropValue = (
2222
return `"${escape(propValue)}"`;
2323
}
2424

25-
// > "Symbols (new in ECMAScript 2015, not yet supported in Flow)"
26-
// @see: https://flow.org/en/docs/types/primitives/
27-
// $FlowFixMe: Flow does not support Symbol
2825
if (typeof propValue === 'symbol') {
2926
const symbolDescription = propValue
3027
.valueOf()

0 commit comments

Comments
 (0)