FormatKrwOptions — @gj-kit/format
A public interface from @gj-kit/format. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { FormatKrwOptions } from '@gj-kit/format';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface FormatKrwOptions<TFallback = string> { /** * Required rendering style — the source apps disagreed: * `'symbol'` renders `'₩1,000'`, `'suffix-ko'` renders `'1,000원'`. */ readonly style: 'symbol' | 'suffix-ko'; /** * Required **grouping** locale; `'device'` is the explicit opt-in to the * runtime default. It selects grouping and the decimal separator only — the * `₩` glyph, its position and the `원` suffix are fixed by this package and * never vary with the locale. */ readonly locale: FormatLocale; /** Rendered for null/undefined/non-finite input. Default `'-'`. */ readonly fallback?: TFallback | undefined;}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.
Release context
Section titled “Release context”- Package:
@gj-kit/format - Version:
0.1.1 - Public entry:
. - Source: GitHub