File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,13 +190,13 @@ export interface LocaleDefinition {
190190 [ group : string ] : any ;
191191}
192192
193- export type UseableLocale = LiteralUnion < KnownLocale > ;
194- export type UsedLocales = Partial < Record < UseableLocale , LocaleDefinition > > ;
193+ export type UsableLocale = LiteralUnion < KnownLocale > ;
194+ export type UsedLocales = Partial < Record < UsableLocale , LocaleDefinition > > ;
195195
196196export interface FakerOptions {
197197 locales ?: UsedLocales ;
198- locale ?: UseableLocale ;
199- localeFallback ?: UseableLocale ;
198+ locale ?: UsableLocale ;
199+ localeFallback ?: UsableLocale ;
200200}
201201
202202export interface DefinitionTypes {
@@ -222,8 +222,8 @@ export interface DefinitionTypes {
222222
223223export class Faker {
224224 locales : UsedLocales ;
225- locale : UseableLocale ;
226- localeFallback : UseableLocale ;
225+ locale : UsableLocale ;
226+ localeFallback : UsableLocale ;
227227
228228 // TODO @Shinigami 92 2022-01-11: For now we loose types here
229229 // @ts -expect-error: will be lazy filled by constructor
@@ -435,7 +435,7 @@ export class Faker {
435435 *
436436 * @param locale
437437 */
438- setLocale ( locale : UseableLocale ) : void {
438+ setLocale ( locale : UsableLocale ) : void {
439439 this . locale = locale ;
440440 }
441441}
You can’t perform that action at this time.
0 commit comments