From 5038497d6bd04a5a5ac8245ea38063144ce3c721 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Tue, 12 Nov 2024 11:14:37 +0100 Subject: [PATCH] docs: Add `HybridObject` import to nitrogen docs --- docs/docs/nitrogen.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/nitrogen.md b/docs/docs/nitrogen.md index e2fc57ecc..a238a70bf 100644 --- a/docs/docs/nitrogen.md +++ b/docs/docs/nitrogen.md @@ -105,6 +105,8 @@ Nitrogen parses all TypeScript files that end in `.nitro.ts`. For example, let's create `Math.nitro.ts`: ```ts title="Math.nitro.ts" +import { type HybridObject } from 'react-native-nitro-modules' + interface Math extends HybridObject<{ ios: 'swift', android: 'kotlin' }> { add(a: number, b: number): number }