Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@
map: Record<string, string>
secondMap: SecondMapWrapper
}

// Self-referential callback in struct (not cyclic - callback is a reference type)
export interface SelfReferentialStruct {
transform?: (config: SelfReferentialStruct) => Promise<SelfReferentialStruct>
}

export type CustomString = CustomType<
string,
'CustomString',
Expand Down Expand Up @@ -234,6 +240,7 @@
bounceWrappedJsStyleStruct(value: WrappedJsStruct): WrappedJsStruct
bounceOptionalWrapper(wrapper: OptionalWrapper): OptionalWrapper
bounceOptionalCallback(value: OptionalCallback): OptionalCallback
bounceSelfReferentialStruct(value: SelfReferentialStruct): SelfReferentialStruct

Check warning on line 243 in packages/react-native-nitro-test/src/specs/TestObject.nitro.ts

View workflow job for this annotation

GitHub Actions / Lint TypeScript (eslint, prettier)

Replace `value:·SelfReferentialStruct` with `⏎····value:·SelfReferentialStruct⏎··`

// ArrayBuffers
createArrayBuffer(): ArrayBuffer
Expand Down
Loading