diff --git a/src/compilers/json.compiler.ts b/src/compilers/json.compiler.ts index 3a560ad..912ea39 100644 --- a/src/compilers/json.compiler.ts +++ b/src/compilers/json.compiler.ts @@ -7,7 +7,7 @@ export class JsonCompiler implements CompilerInterface { public indentation: string = '\t'; - public extension = 'json'; + public extension: string = 'json'; public constructor(options?: any) { if (options && typeof options.indentation !== 'undefined') { diff --git a/src/compilers/po.compiler.ts b/src/compilers/po.compiler.ts index a59a9f6..6a3b4c6 100644 --- a/src/compilers/po.compiler.ts +++ b/src/compilers/po.compiler.ts @@ -5,14 +5,14 @@ import * as gettext from 'gettext-parser'; export class PoCompiler implements CompilerInterface { - public extension = 'po'; + public extension: string = 'po'; /** * Translation domain */ - public domain = ''; + public domain: string = ''; - public constructor(options?: any) { } + public constructor(options?: any) {} public compile(collection: TranslationCollection): string { const data = {