Skip to content

Commit

Permalink
🐛 change most of the readonly properties to mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
kotarella1110 committed Dec 7, 2021
1 parent b647da3 commit 2cdfbbc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/logs/src/logsEvent.types.ts
Expand Up @@ -45,22 +45,22 @@ export interface LogsEvent {
/**
* Logger properties
*/
readonly logger?: {
logger?: {
/**
* Name of the logger
*/
readonly name: string
name: string

[k: string]: unknown
}
/**
* Error properties
*/
readonly error?: {
error?: {
/**
* Kind of the error
*/
readonly kind?: string
kind?: string
/**
* Origin of the error
*/
Expand All @@ -75,15 +75,15 @@ export interface LogsEvent {
/**
* Resource properties of the error
*/
readonly http: {
http: {
/**
* HTTP method of the resource
*/
readonly method: 'POST' | 'GET' | 'HEAD' | 'PUT' | 'DELETE' | 'PATCH'
method: 'POST' | 'GET' | 'HEAD' | 'PUT' | 'DELETE' | 'PATCH'
/**
* HTTP Status code of the resource
*/
readonly status_code: number
status_code: number
/**
* URL of the resource
*/
Expand Down

0 comments on commit 2cdfbbc

Please sign in to comment.