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 }