示例工程 40-node-api-native-modules

40-node-api-native-modules/app/shared/native.ts

typescript · 0.1 KB

export type NativeApi = {
  hashText(input: string): string;
  nativeVersion(): string;
  byteLength(input: string): number;
};