Closed AKclown closed 1 year ago
{ "should_be_ts_map_not_an_interface": { "key1": { "a": 1, "b": 2 }, "key2": { "a": 3, "b": 4 }, } } // 生成[key:string]: IKey1。 而不是key1:Ikey1、key2:Ikey2 (会进行自动检测) export interface IRootObject { should_be_ts_map_not_an_interface: IShouldBeTsMapNotAnInterface; } export interface IShouldBeTsMapNotAnInterface { } export interface IKey1 { a: number; b: number; }
0.5.0 (2023-06-28)