MCPcopy Index your code
hub / github.com/formatjs/formatjs / resolvedOptions

Method resolvedOptions

packages/intl-listformat/index.ts:305–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303 }
304
305 resolvedOptions(): ResolvedIntlListFormatOptions {
306 validateInstance(this, 'resolvedOptions')
307 return {
308 locale: getInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'locale'),
309 type: getInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'type')!,
310 style: getInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, 'style')!,
311 }
312 }
313
314 public static supportedLocalesOf(
315 locales: string | string[],

Callers

nothing calls this directly

Calls 2

getInternalSlotFunction · 0.85
validateInstanceFunction · 0.70

Tested by

no test coverage detected