MCPcopy Index your code
hub / github.com/MALSync/MALSync / constructor

Method constructor

src/utils/IntlWrapper.ts:64–67  ·  view source on GitHub ↗
(locale: Intl.LocalesArgument = api.storage.lang('locale'))

Source from the content-addressed store, hash-verified

62 protected isFallback = !Intl.DurationFormat;
63
64 constructor(locale: Intl.LocalesArgument = api.storage.lang('locale')) {
65 this.locale = locale;
66 return this;
67 }
68
69 setLocale(locale: Intl.LocalesArgument) {
70 this.locale = locale;

Callers

nothing calls this directly

Calls 1

langMethod · 0.80

Tested by

no test coverage detected