TS Konstruksi tanda tangan
interface ComesFromString {
name: string;
}
interface StringConstructable {
new(n: string): ComesFromString;
}
interface ComesFromString {
name: string;
}
interface StringConstructable {
new(n: string): ComesFromString;
}