@@ -133,7 +133,7 @@ export interface HttpRequest {
133133 /**
134134 * Request method.
135135 * @example GET
136- * * /
136+ */
137137 readonly method : string ;
138138
139139 /** Represents a parsed URL. */
@@ -543,15 +543,15 @@ export interface SharedMemory {
543543 * @param key The key to retrieve.
544544 * @returns The stored value, or `undefined` if not found.
545545 */
546- get ( key : string ) : any
546+ get ( key : string ) : any ;
547547
548548 /**
549549 * Sets a value for the given key.
550550 * If the key already exists, its value will be replaced.
551551 * @param key The key to store the value under.
552552 * @param value The value to store.
553553 */
554- set ( key : string , value : any ) : void
554+ set ( key : string , value : any ) : void ;
555555
556556 /**
557557 * Updates a value atomically using an updater function.
@@ -567,32 +567,32 @@ export interface SharedMemory {
567567 * @param updater Function that receives the current value and returns the new value.
568568 * @returns The new value after update.
569569 */
570- update < T = any > ( key : string , updater : ( value : T | undefined ) => T ) : T
570+ update < T = any > ( key : string , updater : ( value : T | undefined ) => T ) : T ;
571571
572572 /**
573573 * Checks if the given key exists in shared memory.
574574 * @param key The key to check.
575575 * @returns `true` if the key exists, otherwise `false`.
576576 */
577- has ( key : string ) : boolean
577+ has ( key : string ) : boolean ;
578578
579579 /**
580580 * Removes the specified key and its value from shared memory.
581581 * @param key The key to remove.
582582 */
583- delete ( key : string ) : void
583+ delete ( key : string ) : void ;
584584
585585 /**
586586 * Removes all stored entries from shared memory.
587587 * Use with caution — this clears all shared state.
588588 */
589- clear ( ) : void
589+ clear ( ) : void ;
590590
591591 /**
592592 * Returns a list of all stored keys.
593593 * @returns An array of key names.
594594 */
595- keys ( ) : string [ ]
595+ keys ( ) : string [ ] ;
596596
597597 /**
598598 * Creates or returns a namespaced shared memory store.
@@ -607,7 +607,7 @@ export interface SharedMemory {
607607 * @param name The namespace identifier.
608608 * @returns A `SharedMemory` object scoped to the given namespace.
609609 */
610- namespace ( name : string ) : SharedMemory
610+ namespace ( name : string ) : SharedMemory ;
611611}
612612
613613/**
@@ -631,4 +631,4 @@ export interface SharedMemory {
631631 * mokapi.log(`Current counter: ${count}`)
632632 * ```
633633 */
634- export const shared : SharedMemory
634+ export const shared : SharedMemory ;
0 commit comments