Skip to content

luthfianto/ts-extract-interface

Repository files navigation

ts-extract-interface

Extract an interface from a TypeScript class

To use the extension:

  1. select the whole class which interface you want to generate
  2. choose from the popup menu option "Extract an interface from a TypeScript class"
  3. the generated interface will be automatically pasted just under the class definition

ts-extract-interface in action