fix gh-254: use Object.getOwnPropertyDescriptor instead of accessing the fields directly.
fix gh-254: use Object.getOwnPropertyDescriptor instead of accessing the fields directly.

pana-cc/mocha-typescript,pana-cc/mocha-typescript