Skip to content

Commit

Permalink
Fix issue with exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed Jan 16, 2018
1 parent 69f4359 commit c775af7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Reflect.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Reflect.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Reflect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ namespace Reflect {
function makeExporter(target: typeof Reflect, previous?: <K extends keyof typeof Reflect>(key: K, value: typeof Reflect[K]) => void) {
return <K extends keyof typeof Reflect>(key: K, value: typeof Reflect[K]) => {
if (typeof target[key] !== "function") {
Object.defineProperty(Reflect, key, { configurable: true, writable: true, value });
Object.defineProperty(target, key, { configurable: true, writable: true, value });
}
if (previous) previous(key, value);
};
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reflect-metadata",
"version": "0.1.11",
"version": "0.1.12",
"description": "Polyfill for Metadata Reflection API",
"homepage": "https://github.com/rbuckton/reflect-metadata",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reflect-metadata",
"version": "0.1.11",
"version": "0.1.12",
"description": "Polyfill for Metadata Reflection API",
"main": "Reflect.js",
"types": "index.d.ts",
Expand Down

0 comments on commit c775af7

Please sign in to comment.