mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
431 B
Plaintext
17 lines
431 B
Plaintext
addMoreCallSignaturesToBaseSignature.ts(10,13): error TS2454: Variable 'a' is used before being assigned.
|
|
|
|
|
|
==== addMoreCallSignaturesToBaseSignature.ts (1 errors) ====
|
|
interface Foo {
|
|
(): string;
|
|
}
|
|
|
|
interface Bar extends Foo {
|
|
(key: string): string;
|
|
}
|
|
|
|
var a: Bar;
|
|
var kitty = a();
|
|
~
|
|
!!! error TS2454: Variable 'a' is used before being assigned.
|
|
|