From cef00a6bc22a90db4f806795354c0e9fed65c389 Mon Sep 17 00:00:00 2001 From: Markku Roponen Date: Fri, 27 Jan 2023 14:24:57 +0200 Subject: [PATCH] Updated code formating inside types.ts to work with newer packages, but had to add also prettier ignore because new rules work with "(typeof PemLabel)..." and old rules work with "typeof PemLabel..." so it cannot be made to work with both. Added eslint ignore for 'any' inside types.ts --- src/types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 1813d911..fb3ab3c4 100644 --- a/src/types.ts +++ b/src/types.ts @@ -6,7 +6,8 @@ export const PemLabel = { PRIVATE_KEY: "PRIVATE KEY" as const, }; -export type PemLabelId = typeof PemLabel[keyof typeof PemLabel]; +// prettier-ignore +export type PemLabelId = (typeof PemLabel)[keyof typeof PemLabel]; export interface SamlSigningOptions { privateKey: string | Buffer; @@ -43,6 +44,7 @@ export type XMLObject = { export type XMLInput = XMLObject; +// eslint-disable-next-line @typescript-eslint/no-explicit-any export type XMLOutput = Record; export type AuthorizeRequestXML = {