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