From 9c47bcc2e0f9de443e7a9575c44e315f220b863d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 17 Jan 2023 19:06:09 +0100 Subject: 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 --- src/modules/color/index.ts | 4 ++-- src/modules/system/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules') 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 { -- cgit v1.2.3