-
```
What steps will reproduce the problem?
1. Test the following lines
class Foo
{
public string Version {get; set;}
public void Bar()
{
//do something
}
}
2. The class name "Foo"…
-
```
What steps will reproduce the problem?
1. Test the following lines
class Foo
{
public string Version {get; set;}
public void Bar()
{
//do something
}
}
2. The class name "Foo"…
-
# Suggestion
For many type declarations, it shouldn't be necessary to use a conditional type which repeats a constraint already found in type parameter.
For example, instead of:
```ts
type C…
-
```
What steps will reproduce the problem?
1. Test the following lines
class Foo
{
public string Version {get; set;}
public void Bar()
{
//do something
}
}
2. The class name "Foo"…
-
```
What steps will reproduce the problem?
1. Test the following lines
class Foo
{
public string Version {get; set;}
public void Bar()
{
//do something
}
}
2. The class name "Foo"…
-
```
What steps will reproduce the problem?
1. Test the following lines
class Foo
{
public string Version {get; set;}
public void Bar()
{
//do something
}
}
2. The class name "Foo"…
-
```
What steps will reproduce the problem?
1. Test the following lines
class Foo
{
public string Version {get; set;}
public void Bar()
{
//do something
}
}
2. The class name "Foo"…
-
```
What steps will reproduce the problem?
1. Test the following lines
class Foo
{
public string Version {get; set;}
public void Bar()
{
//do something
}
}
2. The class name "Foo"…
-
```
What steps will reproduce the problem?
1. Test the following lines
class Foo
{
public string Version {get; set;}
public void Bar()
{
//do something
}
}
2. The class name "Foo"…
-
```
What steps will reproduce the problem?
1. Test the following lines
class Foo
{
public string Version {get; set;}
public void Bar()
{
//do something
}
}
2. The class name "Foo"…