Skip to content

@checkout-kit/webview-bridge / ParseResult

Type Alias: ParseResult<T> ​

ts
type ParseResult<T> = 
  | {
  message: T;
  ok: true;
}
  | {
  ok: false;
  reason: "not_ours" | "malformed" | "unsupported_version";
};

Type Parameters ​

Type Parameter
T

Apache-2.0 · Headless engine, provider adapters and runnable examples.