add types
This commit is contained in:
		| @@ -7,7 +7,7 @@ export class JsonCompiler implements CompilerInterface { | |||||||
|  |  | ||||||
| 	public indentation: string = '\t'; | 	public indentation: string = '\t'; | ||||||
|  |  | ||||||
| 	public extension = 'json'; | 	public extension: string = 'json'; | ||||||
|  |  | ||||||
| 	public constructor(options?: any) { | 	public constructor(options?: any) { | ||||||
| 		if (options && typeof options.indentation !== 'undefined') { | 		if (options && typeof options.indentation !== 'undefined') { | ||||||
|   | |||||||
| @@ -5,14 +5,14 @@ import * as gettext from 'gettext-parser'; | |||||||
|  |  | ||||||
| export class PoCompiler implements CompilerInterface { | export class PoCompiler implements CompilerInterface { | ||||||
|  |  | ||||||
| 	public extension = 'po'; | 	public extension: string = 'po'; | ||||||
|  |  | ||||||
| 	/** | 	/** | ||||||
| 	 * Translation domain | 	 * Translation domain | ||||||
| 	 */ | 	 */ | ||||||
| 	public domain = ''; | 	public domain: string = ''; | ||||||
|  |  | ||||||
| 	public constructor(options?: any) { } | 	public constructor(options?: any) {} | ||||||
|  |  | ||||||
| 	public compile(collection: TranslationCollection): string { | 	public compile(collection: TranslationCollection): string { | ||||||
| 		const data = { | 		const data = { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user