TypeScript/tests/baselines/reference/optionalParamInOverride.types

17 lines
577 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/optionalParamInOverride.ts ===
class Z {
2015-04-13 23:01:57 +02:00
>Z : Z, Symbol(Z, Decl(optionalParamInOverride.ts, 0, 0))
2014-08-15 23:33:16 +02:00
public func(): void { }
2015-04-13 23:01:57 +02:00
>func : () => void, Symbol(func, Decl(optionalParamInOverride.ts, 0, 9))
2014-08-15 23:33:16 +02:00
}
class Y extends Z {
2015-04-13 23:01:57 +02:00
>Y : Y, Symbol(Y, Decl(optionalParamInOverride.ts, 2, 1))
>Z : Z, Symbol(Z, Decl(optionalParamInOverride.ts, 0, 0))
2014-08-15 23:33:16 +02:00
public func(value?: any): void { }
2015-04-13 23:01:57 +02:00
>func : (value?: any) => void, Symbol(func, Decl(optionalParamInOverride.ts, 3, 19))
>value : any, Symbol(value, Decl(optionalParamInOverride.ts, 4, 16))
2014-08-15 23:33:16 +02:00
}