| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Runtime 9.1 (ios#403 and the Android counterpart) applies `@NativeClass` itself and accepts per-platform options: @nativeclass({ ios: { name, protocols, methods }, android: { name, interfaces }, }) Mirror that shape in global-types.d.ts, using the same interface names as @nativescript/ios `types/ns-nativeclass.d.ts` so both declaration sets merge cleanly in one program. The previous top-level `protocols` / `interfaces` keys stay as @deprecated aliases (both runtimes still read them); `nativeClassName` is @deprecated because neither runtime ever read it from the options. The overloads now return the class / decorator type instead of implicit any.
|
View your CI Pipeline Execution ↗ for commit dad0173
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at 2026-08-20 19:43:48 UTC |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Runtime 9.1+ (ios#403 and the Android counterpart) applies @NativeClass itself and accepts per-platform options:
@NativeClass({ ios: { name, protocols, methods }, android: { name, interfaces }, })Mirror that shape in global-types.d.ts, using the same interface names as @nativescript/ios types/ns-nativeclass.d.ts so both declaration sets merge cleanly in one program. The previous top-level protocols / interfaces keys stay as @deprecated aliases (both runtimes still read them); nativeClassName is @deprecated because neither runtime ever read it from the options. The overloads now return the class / decorator type instead of implicit any.