Can I import functions into a typescript class file?
<p>I have Typescript classes that look like this:</p>

<pre><code>class WordService implements IWordService {

    wordCreatedById: number = 0;
    wordModifiedById: number = 0;

    static $inject = [
        "$http",
        "$q",
        ...
    ];

    constructor(
        public $http: ng.IHttpService,
        public $q: ng.IQService,
        ...
    ) {

    }

    wordClear = (): void =&gt; {
        this.word = null;
        this.wordBase = null;
    }

    ...

}
</code></pre>

<p>My class files have become very long now as I defined more and more functions
like wordClear.</p>

<p>Is there any way that I could move functions into another file and import them
into my class?</p>