aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2023-01-17 19:06:09 +0100
committerGitHub <[email protected]>2023-01-17 19:06:09 +0100
commit9c47bcc2e0f9de443e7a9575c44e315f220b863d (patch)
tree01207c8fc804c6b239591e1b65ff9a5a488d0fdf /src/modules
parent027e1dd5dfe94cbd4d4bd53bafc0f69285412f62 (diff)
downloadfaker-9c47bcc2e0f9de443e7a9575c44e315f220b863d.tar.xz
faker-9c47bcc2e0f9de443e7a9575c44e315f220b863d.zip
chore(deps): update dependency prettier to v2.8.3 (#1726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Shinigami92 <[email protected]>
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/color/index.ts4
-rw-r--r--src/modules/system/index.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/color/index.ts b/src/modules/color/index.ts
index 23e41694..62a5fa0d 100644
--- a/src/modules/color/index.ts
+++ b/src/modules/color/index.ts
@@ -27,8 +27,8 @@ export const CSS_FUNCTIONS = [
'color',
] as const;
-export type CSSFunction = typeof CSS_FUNCTIONS[number];
-export type CSSSpace = typeof CSS_SPACES[number];
+export type CSSFunction = (typeof CSS_FUNCTIONS)[number];
+export type CSSSpace = (typeof CSS_SPACES)[number];
export type StringColorFormat = 'css' | 'binary';
export type NumberColorFormat = 'decimal';
export type ColorFormat = StringColorFormat | NumberColorFormat;
diff --git a/src/modules/system/index.ts b/src/modules/system/index.ts
index 202f9899..e5413622 100644
--- a/src/modules/system/index.ts
+++ b/src/modules/system/index.ts
@@ -250,7 +250,7 @@ export class SystemModule {
*/
networkInterface(
options: {
- interfaceType?: typeof commonInterfaceTypes[number];
+ interfaceType?: (typeof commonInterfaceTypes)[number];
interfaceSchema?: keyof typeof commonInterfaceSchemas;
} = {}
): string {