export var KEY_TYPE = 'design:type';
export var KEY_PARAMETER = 'design:paramtypes';
export var KEY_RETURN_TYPE = 'design:returntype';
export var getMetadataType = makeMetadataGetter(KEY_TYPE);
export function makeMetadataGetter(metadataKey) {
    return function (target, targetKey) {
        if (targetKey) {
            return Reflect.getMetadata(metadataKey, target, targetKey);
        }
        else {
            return Reflect.getMetadata(metadataKey, target);
        }
    };
}
//# sourceMappingURL=util.js.map