Update prettier config

This commit is contained in:
garronej 2023-02-26 15:39:03 +01:00
parent 6a48325132
commit 5cfe78dcd1
3 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ import { typeGuard } from "tsafe/typeGuard";
import { symToStr } from "tsafe/symToStr"; import { symToStr } from "tsafe/symToStr";
const bundlers = ["mvn", "keycloakify", "none"] as const; const bundlers = ["mvn", "keycloakify", "none"] as const;
type Bundler = typeof bundlers[number]; type Bundler = (typeof bundlers)[number];
type ParsedPackageJson = { type ParsedPackageJson = {
name: string; name: string;
version: string; version: string;
@ -38,7 +38,7 @@ const zParsedPackageJson = z.object({
.optional() .optional()
}); });
assert<Equals<ReturnType<typeof zParsedPackageJson["parse"]>, ParsedPackageJson>>(); assert<Equals<ReturnType<(typeof zParsedPackageJson)["parse"]>, ParsedPackageJson>>();
/** Consolidated build option gathered form CLI arguments and config in package.json */ /** Consolidated build option gathered form CLI arguments and config in package.json */
export type BuildOptions = BuildOptions.Standalone | BuildOptions.ExternalAssets; export type BuildOptions = BuildOptions.Standalone | BuildOptions.ExternalAssets;

View File

@ -68,7 +68,7 @@ export namespace BuildOptionsLike {
assert<typeof buildOptions extends BuildOptionsLike ? true : false>(); assert<typeof buildOptions extends BuildOptionsLike ? true : false>();
} }
export type PageId = typeof pageIds[number]; export type PageId = (typeof pageIds)[number];
export function generateFtlFilesCodeFactory(params: { export function generateFtlFilesCodeFactory(params: {
indexHtmlCode: string; indexHtmlCode: string;

View File

@ -17,7 +17,7 @@ export type KcContextLike = {
assert<KcContextBase extends KcContextLike ? true : false>(); assert<KcContextBase extends KcContextLike ? true : false>();
export type MessageKeyBase = keyof typeof baseMessages | keyof typeof keycloakifyExtraMessages[typeof fallbackLanguageTag]; export type MessageKeyBase = keyof typeof baseMessages | keyof (typeof keycloakifyExtraMessages)[typeof fallbackLanguageTag];
export type I18n<MessageKey extends string> = { export type I18n<MessageKey extends string> = {
/** /**