7 lines
No EOL
123 B
TypeScript
7 lines
No EOL
123 B
TypeScript
interface P {
|
|
p: void;
|
|
}
|
|
|
|
interface Q extends P { // check assignability here. any is assignable to void.
|
|
p: any;
|
|
} |