Write concise, non-redundant code by eliminating unnecessary duplication and using simpler syntax where possible. This improves readability and maintainability.

Key practices:

Examples:

// Instead of redundant property definitions:
export interface Derived<V = unknown> extends Value<V> {
  r_version: number; // ❌ Already defined in Value
}

// Use inheritance properly:
export interface Derived<V = unknown> extends Value<V> {
  // ✅ Only add new properties
}

// Instead of arrow function wrappers:
elements.forEach(element => detach(element)); // ❌

// Use direct function reference:
elements.forEach(detach); // ✅

// Make exported types complete:
export type ClassValue = string | ClassArray | ClassDictionary; // ✅