@bytecodealliance/jco 1.17.5 → 1.17.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,5 +112,6 @@ export type * as WasiIoStreams023 from './interfaces/wasi-io-streams.js'; // imp
112
112
  export type * as WasiRandomRandom023 from './interfaces/wasi-random-random.js'; // import wasi:random/random@0.2.3
113
113
  export function generate(component: Uint8Array, options: GenerateOptions): Transpiled;
114
114
  export function generateTypes(name: string, options: TypeGenerationOptions): Files;
115
+ export type Result<T, E> = { tag: 'ok', val: T } | { tag: 'err', val: E };
115
116
 
116
117
  export const $init: Promise<void>;