Skip to content

Commit

Permalink
Added TypeScript 2.0 declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed Dec 21, 2016
1 parent aedbe53 commit c72bf74
Show file tree
Hide file tree
Showing 7 changed files with 996 additions and 4 deletions.
5 changes: 5 additions & 0 deletions Reflect.d.ts
Expand Up @@ -12,6 +12,11 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */

// NOTE: This file is obsolete and may be removed in a later release.
// For CommonJS/AMD/UMD/SystemJS declarations please use 'index.d.ts'.
// For standalone browser declarations, please use 'standalone.d.ts'.

declare module "reflect-metadata" {
// The "reflect-metadata" module has no imports or exports, but can be used by modules to load the polyfill.
}
Expand Down
5 changes: 3 additions & 2 deletions bower.json
@@ -1,12 +1,13 @@
{
"name": "reflect-metadata",
"version": "0.1.8",
"version": "0.1.9",
"description": "Polyfill for Metadata Reflection API",
"homepage": "https://github.com/rbuckton/ReflectDecorators",
"authors": [
"Ron Buckton <ron.buckton@microsoft.com>"
],
"main": "Reflect.js",
"types": "index.d.ts",
"moduleType": [
"globals",
"node"
Expand All @@ -26,7 +27,7 @@
"tests"
],
"devDependencies": {
"typescript": "^1.7.5"
"typescript": "^2.1.4"
},
"repository": {
"type": "git",
Expand Down
491 changes: 491 additions & 0 deletions index.d.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
@@ -1,9 +1,9 @@
{
"name": "reflect-metadata",
"version": "0.1.8",
"version": "0.1.9",
"description": "Polyfill for Metadata Reflection API",
"main": "Reflect.js",
"types": "typings.d.ts",
"types": "index.d.ts",
"typescript": {
"definition": "Reflect.d.ts"
},
Expand Down
5 changes: 5 additions & 0 deletions reflect-metadata.d.ts
Expand Up @@ -12,4 +12,9 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */

// NOTE: This file is obsolete and may be removed in a later release.
// For CommonJS/AMD/UMD/SystemJS declarations please use 'index.d.ts'.
// For standalone browser declarations, please use 'standalone.d.ts'.

/// <reference path="./Reflect.d.ts" />

0 comments on commit c72bf74

Please sign in to comment.