Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-cn/public/docs/_examples/architecture/ts/app/hero.ts

11 lines
149 B
TypeScript
Raw Normal View History

(docs) DevGuide Introduction incorporates Pascal & Felipe suggestions includes running sample code for the architecture overview closes #417
2015-11-28 20:43:09 -08:00
export class Hero {
(docs) devguide intro - fix typos and infelicities closes #420
2015-11-30 14:13:24 -08:00
id:number
constructor(
public name:string,
public power?:string){
this.id = nextId++;
}
(docs) DevGuide Introduction incorporates Pascal & Felipe suggestions includes running sample code for the architecture overview closes #417
2015-11-28 20:43:09 -08:00
}
(docs) devguide intro - fix typos and infelicities closes #420
2015-11-30 14:13:24 -08:00
var nextId = 1;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 53ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API