No comment above the class. The comment only repeated the type name, so it had to be removed by hand after each run. There is no flag. Class names, members, SCHEME_SET, isValid and the TConstValue type are the same.
Your own comment stays. A comment you wrote on the type alias stays with the alias, as before.
// before: the codemod wrote this line above the class/** The values of `TMode`. */export class Modes { static readonly READ = 'read'; // ...}// now: the class starts at `export class`export class Modes { static readonly READ = 'read'; // ...}
Changelog - 2026-11-03
devz codemod const-classes writes no comment above the class
Behavior ChangeIn one line.
devz codemod const-classes --writeno longer writes a/** The values of ... */comment above each class it creates.What changed
SCHEME_SET,isValidand theTConstValuetype are the same.Who is affected
Details