Open
Description
👋
I've always needed to make a patch package to avoid typescript errors and installation issue (I use a mono repo) ⬇️
diff --git a/node_modules/react-native-star-io10/react-native-star-io10.podspec b/node_modules/react-native-star-io10/react-native-star-io10.podspec
index 3c5142d..fd5a1c8 100755
--- a/node_modules/react-native-star-io10/react-native-star-io10.podspec
+++ b/node_modules/react-native-star-io10/react-native-star-io10.podspec
@@ -22,8 +22,8 @@ Pod::Spec.new do |s|
s.dependency "React"
s.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphoneos*]' => 'x86_64',
- 'EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*]' => '$(SRCROOT)/../../node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64_x86_64-simulator/*.*',
- 'FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]' => '$(SRCROOT)/libs/** $(SRCROOT)/../../node_modules/react-native-star-io10/ios/libs $(SRCROOT)/../../node_modules/react-native-star-io10/ios/libs/StarIO10.xcframework/ios-arm64',
+ 'EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*]' => '$(PODS_TARGET_SRCROOT)/ios/libs/StarIO10.xcframework/ios-arm64_x86_64-simulator/*.*',
+ 'FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]' => '$(PODS_TARGET_SRCROOT)/libs/** $(PODS_TARGET_SRCROOT)/ios/libs $(PODS_TARGET_SRCROOT)/ios/libs/StarIO10.xcframework/ios-arm64',
}
if ENV['USE_FRAMEWORKS']
diff --git a/node_modules/react-native-star-io10/src/StarIO10Logger.ts b/node_modules/react-native-star-io10/src/StarIO10Logger.ts
index a54f707..99ce8e7 100755
--- a/node_modules/react-native-star-io10/src/StarIO10Logger.ts
+++ b/node_modules/react-native-star-io10/src/StarIO10Logger.ts
@@ -48,5 +48,5 @@ export class StarIO10Logger extends NativeObject {
return `dammy`;
}
- protected async _disposeNativeObjectImpl(nativeObject: string): Promise<void> {}
+ protected async _disposeNativeObjectImpl(): Promise<void> {}
}
\ No newline at end of file
diff --git a/node_modules/react-native-star-io10/src/StarPrinter.ts b/node_modules/react-native-star-io10/src/StarPrinter.ts
index e301a16..0507ff4 100755
--- a/node_modules/react-native-star-io10/src/StarPrinter.ts
+++ b/node_modules/react-native-star-io10/src/StarPrinter.ts
@@ -262,8 +262,8 @@ export class StarPrinter extends NativeObject {
async print(
...args:
- | [command: string]
- | [command: string, starSpoolJobSettings: StarSpoolJobSettings]
+ | [string]
+ | [string, StarSpoolJobSettings]
): Promise<void | number> {
await this._initNativeObject();
Would you like a PR to correct this?
My react-native-info
:
System:
OS: macOS 14.1
CPU: (12) arm64 Apple M2 Pro
Memory: 47.80 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.4.0 - ~/.nvm/versions/node/v20.4.0/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 9.7.2 - ~/.nvm/versions/node/v20.4.0/bin/npm
Watchman: 2024.08.12.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.12.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.5, iOS 17.5, macOS 14.5, tvOS 17.5, visionOS 1.2, watchOS 10.5
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 15.4/15F31d - /usr/bin/xcodebuild
Languages:
Java: Not Found
Python: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1
react-native: 0.63.5
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
And my typescript version is 4.9.5.