private void Check(Type type, string expected, TsOptions options = null) { TsGenerator.GenerateTypescriptType(type, options).Should().Be(expected); }
private void Check <T>(string expected, TsOptions options = null) { Check(typeof(T), expected, options); }