Skip to content

Result — @gj-kit/toss-payments

A public type from @gj-kit/toss-payments. The signature below is taken directly from the 0.6.1 release declaration.

import { Result } from '@gj-kit/toss-payments';
/**
* Result — plain 판별 유니언 + 자유 함수 콤비네이터.
* 메서드 클래스 금지(직렬화 안전) — 값은 어디서든 plain 객체다.
*/
type Result<T, E> = Ok<T> | Err<E>;

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/toss-payments
  • Version: 0.6.1
  • Public entry: .
  • Source: GitHub