Skip to content

Commit

Permalink
Fix class Generator Pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
ymzEmre committed Feb 8, 2024
1 parent 1153b0a commit 9c3acf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generatorPattern/GeneratorPattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GeneratorPattern {
}

private buildRegexPattern(options: Options): string {
const optionChecks: { [K in keyof Options]: () => string } = {
const optionChecks = {
lowerCase: () =>
options.lowerCase ? this.includeLowerCase() : '(?!.*[a-z])',
upperCase: () =>
Expand Down

0 comments on commit 9c3acf9

Please sign in to comment.