Skip to content

Commit

Permalink
Updated code formating inside types.ts to work with newer packages, b…
Browse files Browse the repository at this point in the history
…ut 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
  • Loading branch information
RopoMen committed Jan 27, 2023
1 parent d821285 commit cef00a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types.ts
Expand Up @@ -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;
Expand Down Expand Up @@ -43,6 +44,7 @@ export type XMLObject = {

export type XMLInput = XMLObject;

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type XMLOutput = Record<string, any>;

export type AuthorizeRequestXML = {
Expand Down

0 comments on commit cef00a6

Please sign in to comment.