7 lines
No EOL
98 B
TypeScript
7 lines
No EOL
98 B
TypeScript
interface Foo {
|
|
doThing(): void;
|
|
}
|
|
|
|
let cls = class implements Foo {
|
|
doThing() { }
|
|
} |