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

11 lines
154 B
TypeScript
Raw Normal View History

chore: update to rc.0
2016-04-27 11:28:22 -07:00
let nextId = 1;
(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 {
chore: update to rc.0
2016-04-27 11:28:22 -07:00
id: number;
(docs) devguide intro - fix typos and infelicities closes #420
2015-11-30 14:13:24 -08:00
constructor(
chore: update to rc.0
2016-04-27 11:28:22 -07:00
public name: string,
public power?: string) {
(docs) devguide intro - fix typos and infelicities closes #420
2015-11-30 14:13:24 -08:00
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
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 56ms 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