Skip to content

Commit

Permalink
Placate linter
Browse files Browse the repository at this point in the history
  • Loading branch information
72636c committed Oct 9, 2023
1 parent 8567fb7 commit 6d82452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/serializers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface SerializerOptions {
* Defaults to `DEFAULT_OMIT_HEADER_NAMES`,
* and can be disabled by supplying an empty array `[]`.
*/
omitHeaderNames?: string[];
omitHeaderNames?: readonly string[];
}

interface Socket {
Expand Down
2 changes: 1 addition & 1 deletion src/serializers/omitPropertiesSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const createOmitPropertiesSerializer = (
/**
* A list of properties that should not be logged.
*/
properties: string[],
properties: readonly string[],
): SerializerFn => {
const uniquePropertySet = new Set(properties);

Expand Down

0 comments on commit 6d82452

Please sign in to comment.