8 lines
165 B
TypeScript
8 lines
165 B
TypeScript
class Greeter {
|
|
public get greet(): string {
|
|
throw ''; // should not raise an error
|
|
}
|
|
public greeting(): string {
|
|
throw ''; // should not raise an error
|
|
}
|
|
}
|