16 lines
259 B
Text
16 lines
259 B
Text
=== tests/cases/compiler/optionalParamInOverride.ts ===
|
|
class Z {
|
|
>Z : Z
|
|
|
|
public func(): void { }
|
|
>func : () => void
|
|
}
|
|
class Y extends Z {
|
|
>Y : Y
|
|
>Z : Z
|
|
|
|
public func(value?: any): void { }
|
|
>func : (value?: any) => void
|
|
>value : any
|
|
}
|
|
|