Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Java To TypeScript InterfaceNew to Visual Studio Code? Get it now.
Java To TypeScript Interface

Java To TypeScript Interface

gauseen

|
2,564 installs
| (1) | Free
Convert Java DTO To TypeScript Interface
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

to-typescript-interface

to-typescript-interface is a VSCode Extension, Convert Java DTO To TypeScript Interface.

Usage

  • vscode install to-typescript-interface extension
  • Press command
    • Mac command + shift + p
    • Windows ctrl + shift + p
  • input to ts
  • Press Enter Key

Example

Demo

input java class:

public class Model {
  /**
   * 年龄
   */
  private Integer age;

  private String name;
};

output typescript interface:

export interface Model {
  /**
   * 年龄
   */
  age?: number;

  name?: string;
};

About

  • My Github
  • Type-Mapping

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft