Skip to content

Commit 1227dac

Browse files
fix: change Frame import in BaseModule
1 parent 14f4604 commit 1227dac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/react-native-executorch/src/modules/BaseModule.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ResourceSource, FrameData } from '../types/common';
1+
import { Frame, ResourceSource } from '../types/common';
22
import { TensorPtr } from '../types/common';
33

44
/**
@@ -51,9 +51,9 @@ export abstract class BaseModule {
5151
* @param args Additional model-specific arguments (e.g., threshold, options)
5252
* @returns Model-specific output (e.g., detections, classifications, embeddings)
5353
*
54-
* @see {@link FrameData} for frame data format details
54+
* @see {@link Frame} for frame data format details
5555
*/
56-
public generateFromFrame!: (frameData: FrameData, ...args: any[]) => any;
56+
public generateFromFrame!: (frameData: Frame, ...args: any[]) => any;
5757

5858
/**
5959
* Load the model and prepare it for inference.

0 commit comments

Comments
 (0)