mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Fixing test
This commit is contained in:
parent
0292eaac4a
commit
e82bbce28c
@ -13,7 +13,7 @@ tests/cases/conformance/types/objectTypeLiteral/methodSignatures/objectTypesWith
|
||||
}
|
||||
|
||||
class C {
|
||||
x?: number; // error
|
||||
x?: number; // ok
|
||||
}
|
||||
|
||||
interface I2<T> {
|
||||
@ -21,7 +21,7 @@ tests/cases/conformance/types/objectTypeLiteral/methodSignatures/objectTypesWith
|
||||
}
|
||||
|
||||
class C2<T> {
|
||||
x?: T; // error
|
||||
x?: T; // ok
|
||||
}
|
||||
|
||||
var b = {
|
||||
|
||||
@ -10,7 +10,7 @@ interface I {
|
||||
}
|
||||
|
||||
class C {
|
||||
x?: number; // error
|
||||
x?: number; // ok
|
||||
}
|
||||
|
||||
interface I2<T> {
|
||||
@ -18,7 +18,7 @@ interface I2<T> {
|
||||
}
|
||||
|
||||
class C2<T> {
|
||||
x?: T; // error
|
||||
x?: T; // ok
|
||||
}
|
||||
|
||||
var b = {
|
||||
|
||||
@ -9,7 +9,7 @@ interface I {
|
||||
}
|
||||
|
||||
class C {
|
||||
x?: number; // error
|
||||
x?: number; // ok
|
||||
}
|
||||
|
||||
interface I2<T> {
|
||||
@ -17,7 +17,7 @@ interface I2<T> {
|
||||
}
|
||||
|
||||
class C2<T> {
|
||||
x?: T; // error
|
||||
x?: T; // ok
|
||||
}
|
||||
|
||||
var b = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user