10 lines
205 B
TypeScript
10 lines
205 B
TypeScript
// @declaration: true
|
|
interface bar {
|
|
|
|
}
|
|
|
|
class bar {
|
|
public f() { return ''; }
|
|
public g() { return {a: <bar>null, b: undefined, c: void 4 }; }
|
|
public h(x = 4, y = null, z = '') { x++; }
|
|
}
|