8 lines
112 B
TypeScript
8 lines
112 B
TypeScript
|
//@declaration: true
|
||
|
interface I1 {
|
||
|
method();
|
||
|
}
|
||
|
|
||
|
class C1 implements I1 {
|
||
|
method(a = 0, b?) { }
|
||
|
}
|