Skip to content

support custom propertyNames #355

Open
@theoephraim

Description

@theoephraim

I'd like to be able to explicitly specify (via a new comment) some info about the keys of an object. Something like:

type ObjectWithKeysOfSpecificFormat = {
  /** @TJS-propertyNames.pattern '^someprefix_\d+$' */
  [keyWithFormat: string]: {
    foo: string,
    ...
  }
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions