Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 491 Bytes

README.md

File metadata and controls

41 lines (31 loc) · 491 Bytes

blob-types

Generate single, already extended interfaces

TODO: add tests, and setup

Examples:

//From:
interface A {
  a: number;
}

interface B extends A {
  b: number;
}

interface C extends B {
  c: number;
}

// -----

//To:
interface A {
  a: number;
}

interface B {
  b: number;
  a: number;
}

interface C {
  c: number;
  b: number;
  a: number;
}

(more examples can be seen in ./samples directory)