コード例 #1
0
        public void TestBug1()
        {
            var jsBeautifyOptions = new TsBeautifyOptions();

            jsBeautifyOptions.PreserveNewlines = false;
            var typescript = Bug1.TypeScript;

            typescript = new TsBeautifier(jsBeautifyOptions).Beautify(typescript);
        }
コード例 #2
0
 public TsBeautifierInstance(string source, TsBeautifyOptions options = null)
 {
     Source  = source;
     Options = options ?? new TsBeautifyOptions();
 }