Sha256: 62e362fdb42d07075ba1bb8e7cbcdda85805053a6af87efe011f12dfeb24de9b
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
class Student { fullName: string; constructor( public firstName: string, public middleInitial: string, public lastName: string ) { this.fullName = firstName + " " + middleInitial + " " + lastName; } } interface Person { firstName: string; lastName: string; } function greeter(person: Person) { return "Hello, " + person.firstName + " " + person.lastName; } let user = new Student("Jane", "M.", "User"); document.body.innerHTML = greeter(user);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yoyoyo-0.0.2 | assets/ts/app.ts |