Skip to content

Commit 6c27484

Browse files
committed
Use existing TypeScript type checks
Change-Id: I4df7c78a96edcdda38eefd2425437f5082078b0c
1 parent 8d74585 commit 6c27484

3 files changed

Lines changed: 1 addition & 17 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"test-release-local": "node ./scripts/release-testing/test-release-local.js",
3535
"test-ios": "./scripts/objc-test.sh test",
3636
"test-typescript-legacy": "tsc -p packages/react-native/__typetests__/tsconfig.legacy.json",
37-
"test-generated-typescript": "tsc -p packages/react-native/__typetests__/tsconfig.json && tsc -p packages/react-native/__typetests__/tsconfig.strict.json",
37+
"test-generated-typescript": "tsc -p packages/react-native/__typetests__/tsconfig.json",
3838
"test": "jest",
3939
"fantom": "./scripts/fantom.sh",
4040
"fantom-cli": "./scripts/fantom-cli.sh",

packages/react-native/__typetests__/stylesheet-create.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import * as React from 'react';
1111
// @ts-ignore
1212
import {View, StyleSheet, type ShadowStyleIOS} from 'react-native';
13-
import type {ViewStyle} from 'react-native';
1413

1514
export function App() {
1615
return <View style={styles.container} />;
@@ -54,8 +53,3 @@ const styles3 = StyleSheet.create({
5453
shadowOffset: shadowOffsetConst,
5554
},
5655
});
57-
58-
const transforms: ViewStyle['transform'] = [];
59-
transforms.forEach(transform => {
60-
Object.keys(transform);
61-
});

packages/react-native/__typetests__/tsconfig.strict.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)