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