class EmptyClass {} // Use an object instead: class StaticOnly { static version = 42; static hello() { console.log('Hello, world!'); } }