ember-typescript:使用 Typescript 的类语法定义 Ember.Objects

时间:2024-07-10 03:02:26
【文件属性】:

文件名称:ember-typescript:使用 Typescript 的类语法定义 Ember.Objects

文件大小:88KB

文件格式:ZIP

更新时间:2024-07-10 03:02:26

TypeScript

余烬打字稿 使用 Typescript 的类语法定义 Ember.Objects。 现在你有了类型安全的 Ember.Objects。 要求: 余烬 1.10+ 打字稿 1.4+ 例子: class Person extends ynab . common . EmberBaseObject { public static create ( initialValues ?: { } ) : Person { return this . createInstance < Person> ( initialValues ) ; } // Make these private so you aren't tempted to get and set them directly private firstName : string = nu


【文件预览】:
ember-typescript-master
----EmberBaseObject.ts(23KB)
----tsd.json(628B)
----src()
--------EmberBaseObject.ts(23KB)
--------PropertyObservable.ts(6KB)
----LICENSE(1KB)
----README.md(4KB)
----typings()
--------handlebars()
--------tsd.d.ts(264B)
--------jquery()
--------mocha()
--------ember()
--------lodash()
--------chai()
----tests()
--------karma-config.js(3KB)
--------EmberBaseObjectTests.ts(14KB)
--------TestsContainer.ts(292B)
----.gitignore(28B)
----compile.sh(306B)
----package.json(850B)

网友评论