<commit_before>import * as tokens from '../core/tokens';

type BindDecorator =
  (type: string) => (target: any, property: string, descriptor?: PropertyDescriptor) => void;
const Bind: BindDecorator =
  type =>
    (target, property, descriptor) => {
      if (descriptor) {
        descriptor.writable = true;
        descriptor.configurable = true;
        descriptor.enumerable = true;
      }

      if (!Reflect.hasMetadata(tokens.binding, target)) {
        Reflect.defineMetadata(tokens.binding, {[property]: type}, target);
        return;<commit_msg>fix(@Bind): get 100% coverage<commit_after>import * as tokens from '../core/tokens';

type BindDecorator =
  (type: string) => (target: any, property: string) => void;
const Bind: BindDecorator =
  type =>
    (target, property) => {
      if (!Reflect.hasMetadata(tokens.binding, target)) {
        Reflect.defineMetadata(tokens.binding, {[property]: type}, target);
        return;
{'fraction_non_alphanumeric': 0.14437367303609341, 'fraction_numerical': 0.0031847133757961785, 'mean_word_length': 3.4904761904761905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5878608', 'n_tokens_mistral': 281, 'n_tokens_neox': 274, 'n_words': 69}