ts-interface-builder icon indicating copy to clipboard operation
ts-interface-builder copied to clipboard

Add namespaces

Open Crusader4Christ opened this issue 4 years ago • 0 comments

Input

export namespace iAppConfig {
  export interface ServiceConfig {
    key: string;
    token: string;
  }
}

Output is for empty file:

/**
 * This module was automatically generated by `ts-interface-builder`
 */
import * as t from "ts-interface-checker";
// tslint:disable:object-literal-key-quotes
const exportedTypeSuite: t.ITypeSuite = {
};
export default exportedTypeSuite;

Quick fix - just to ignore namespaces

Crusader4Christ avatar Sep 10 '20 16:09 Crusader4Christ