react-native-macos/Libraries
Nick Gerleman c4862a2322 Fix Errors with TypeScript Tests
Summary:
This fixes some style errors found by dtslint, along with some test cases for StyleSheet.compose() where the recent change made it slightly too permissive when explicit return types are given. I also added runs of the TS tests to a script which runs in sandcastle so we can catch this at diff-submission time in the future.

Changelog:
[General][Fixed] - Fix Errors with TypeScript Tests

Reviewed By: lunaleaps

Differential Revision: D42085257

fbshipit-source-id: 7e6ca49d3c3aef822c61c97ecc07b55b0a949d51
2022-12-15 19:17:58 -08:00
..
ActionSheetIOS Update .podspec license information (#35245) 2022-11-07 09:52:52 -08:00
Alert Merge AlertIOSExample page into AlertExample page (#35586) 2022-12-07 18:30:49 -08:00
Animated Fix missing animation type (CircleCI Break) 2022-12-15 09:52:24 -08:00
AppDelegate Update .podspec license information (#35245) 2022-11-07 09:52:52 -08:00
AppState RN: Sort Imports via ESLint 2022-09-30 14:28:48 -07:00
BatchedBridge Do not suggest users to report on MessageQueue 2022-11-23 15:33:45 -08:00
Blob Enable LTI in react-native 2022-12-06 19:34:14 -08:00
BugReporting Codemod cycle annotations for xplat/js 2022-11-01 17:13:27 -07:00
Components Fix types for deprecated scrollTo fields 2022-12-14 15:38:03 -08:00
Core Setup a global Performance singleton, according to the standard 2022-12-14 22:38:12 -08:00
DevToolsSettings Add iOS + Android support for getting/setting reload-and-profile-related settings 2022-12-05 22:07:30 -08:00
EventEmitter RN: Sort Imports via ESLint 2022-09-30 14:28:48 -07:00
Events remove return type from constructor (#35466) 2022-11-24 18:26:36 -08:00
FBLazyVector Remove fb_apple_library export from rn_defs 2022-11-17 09:56:30 -08:00
HeapCapture RN: Sort Imports via ESLint 2022-09-30 14:28:48 -07:00
Image Enable LTI in react-native 2022-12-06 19:34:14 -08:00
Inspector Enable LTI in react-native 2022-12-06 19:34:14 -08:00
Interaction Remove $TEMPORARY$object types 2022-11-10 04:48:13 -08:00
JSInspector RN: Sort Imports via ESLint 2022-09-30 14:28:48 -07:00
LayoutAnimation RN: Sort Imports via ESLint 2022-09-30 14:28:48 -07:00
Linking Do not use InteractionManager to wait for Activity (#35289) 2022-11-14 03:38:52 -08:00
LinkingIOS Update .podspec license information (#35245) 2022-11-07 09:52:52 -08:00
Lists Add missing VirtualizedList Imperative Types 2022-12-15 12:41:38 -08:00
LogBox Enable LTI in react-native 2022-12-06 19:34:14 -08:00
Modal Update reference to statusBarTranslucent in Modal comment 2022-12-09 02:30:09 -08:00
NativeAnimation Support colors for AnimatedInterpolation on iOS 2022-12-05 08:24:54 -08:00
NativeComponent Enable LTI in react-native 2022-12-06 19:34:14 -08:00
NativeModules/specs Scaffolding for the PerformanceObserver TurboModule (C++ side) (#35226) 2022-11-08 10:01:21 -08:00
Network fix RCTNetworking contentType issue (#35640) 2022-12-15 08:14:38 -08:00
NewAppScreen RN: Sort Imports via ESLint 2022-09-30 14:28:48 -07:00
Performance Exclude PerformanceObserver from flow/haste 2022-11-03 07:14:41 -07:00
PermissionsAndroid Rename `POST_NOTIFICATION` to `POST_NOTIFICATIONS` (#35533) 2022-12-09 12:56:07 -08:00
Pressability Expose setLongPressDeactivationDistance as class method 2022-12-09 12:58:02 -08:00
PushNotificationIOS Add missing types to PushNotificationIOS 2022-12-15 09:54:03 -08:00
RCTRequired fix missing imports and set disable_infer_precompiled_header] 2022-12-04 13:30:16 -08:00
ReactNative Fix Errors with TypeScript Tests 2022-12-15 19:17:58 -08:00
ReactPrivate Enable LTI in react-native 2022-12-06 19:34:14 -08:00
Reliability Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Renderer Enable LTI in react-native 2022-12-06 19:34:14 -08:00
Settings Update .podspec license information (#35245) 2022-11-07 09:52:52 -08:00
Share feat(ios): `Share` with `anchor` (#35008) 2022-10-18 18:56:19 -07:00
StyleSheet Fix Errors with TypeScript Tests 2022-12-15 19:17:58 -08:00
SurfaceBackedComponent Remove clang-format opt-out for Libraries 2022-10-13 02:23:13 -07:00
SurfaceHostingComponent Remove clang-format opt-out for Libraries 2022-10-13 02:23:13 -07:00
Text Switch order of onSelectionChange and onChange events on iOS (#35603) 2022-12-14 09:17:54 -08:00
TurboModule Back out "Add enum example to Android/iOS rn-tester TurboModule" (#35089) 2022-10-26 06:30:14 -07:00
TypeSafety chore: RCTConvert - allocate array with capacity (#35490) 2022-11-28 07:29:04 -08:00
Types Fixup TS Organization (#35169) 2022-11-02 14:58:37 -07:00
Utilities Add missing types for AppRegistry 2022-12-15 10:22:43 -08:00
Vibration Fix Vibration.vibrate() allowing null params 2022-12-14 15:23:12 -08:00
WebPerformance Setup a global Performance singleton, according to the standard 2022-12-14 22:38:12 -08:00
WebSocket Log Abnormal Closes to Metro Websocket 2022-10-26 20:09:32 -07:00
Wrapper Remove clang-format opt-out for Libraries 2022-10-13 02:23:13 -07:00
YellowBox RN: Sort Imports via ESLint 2022-09-30 14:28:48 -07:00
__flowtests__ RN: Sort Imports via ESLint 2022-09-30 14:28:48 -07:00
vendor refactor(react-native/polyfills): rename package to @react-native/js-polyfills and align version 2022-12-05 18:34:33 -08:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
Promise.js Remove nonstandard Promise.prototype.done implementation 2022-05-05 03:55:10 -07:00
UTFSequence.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
promiseRejectionTrackingOptions.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00