add types
This commit is contained in:
parent
98b84447c7
commit
c38ca59d43
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user