<commit_before>Vue components using typescript 2.0 with compatibility layer between version [1](https://vuets.github.io/vuets/vue1/) and [2](https://vuets.github.io/vuets/vue2/) of vue and vue-router

[Live Examples](https://vuets.github.io/vuets/) (found in docs/vue1 and docs/vue2)

Unline other integrations, this does not rely on annotations/decorators (runtime introspection overhead) but instead encourages keeping it simple and light like writing components in es6/es2015 (WYSIWYG).

For simple components, one can simple take advantage of this [typescript 2.0 feature](https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#specifying-the-type-of-this-for-functions) where you can specify the type of ```this``` for functions.

```ts
interface MyModel {
     msg: string
}

export default {
    name: 'Foo', // specify the component name
    data(): MyModel {
        return {
            msg: 'hello'
        }<commit_msg>fix typo<commit_after>Vue components using typescript 2.0 with compatibility layer between version [1](https://vuets.github.io/vuets/vue1/) and [2](https://vuets.github.io/vuets/vue2/) of vue and vue-router

[Live Examples](https://vuets.github.io/vuets/) (found in docs/vue1 and docs/vue2)

Unlike other integrations, this does not rely on annotations/decorators (runtime introspection overhead) but instead encourages keeping it simple and light like writing components in es6/es2015 (WYSIWYG).

For simple components, one can simple take advantage of this [typescript 2.0 feature](https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#specifying-the-type-of-this-for-functions) where you can specify the type of ```this``` for functions.

```ts
interface MyModel {
     msg: string
}

export default {
    name: 'Foo', // specify the component name
    data(): MyModel {
        return {
            msg: 'hello'
        }
{'fraction_non_alphanumeric': 0.11234764175940647, 'fraction_numerical': 0.01589825119236884, 'mean_word_length': 3.9424083769633507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '3763470', 'n_tokens_mistral': 587, 'n_tokens_neox': 548, 'n_words': 183}