Skip to content

Commit

Permalink
Update TypeScriptGenerator.spec.ts.snap
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-supy-io authored Feb 21, 2025
1 parent 48bb501 commit 9699cf9
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ Array [
private _specversion: string;
private _reservedType: DogType.DOG = DogType.DOG;
private _dataschema?: string;
private _time?: string;
private _time?: string | Date;
private _additionalProperties?: Map<string, any>;
constructor(input: {
id: string,
source: string,
specversion: string,
dataschema?: string,
time?: string,
time?: string | Date,
additionalProperties?: Map<string, any>,
}) {
this._id = input.id;
Expand All @@ -130,8 +130,8 @@ Array [
get dataschema(): string | undefined { return this._dataschema; }
set dataschema(dataschema: string | undefined) { this._dataschema = dataschema; }
get time(): string | undefined { return this._time; }
set time(time: string | undefined) { this._time = time; }
get time(): string | Date | undefined { return this._time; }
set time(time: string | Date | undefined) { this._time = time; }
get additionalProperties(): Map<string, any> | undefined { return this._additionalProperties; }
set additionalProperties(additionalProperties: Map<string, any> | undefined) { this._additionalProperties = additionalProperties; }
Expand All @@ -145,15 +145,15 @@ Array [
private _specversion: string;
private _reservedType: CatType.CAT = CatType.CAT;
private _dataschema?: string;
private _time?: string;
private _time?: string | Date;
private _additionalProperties?: Map<string, any>;
constructor(input: {
id: string,
source: string,
specversion: string,
dataschema?: string,
time?: string,
time?: string | Date,
additionalProperties?: Map<string, any>,
}) {
this._id = input.id;
Expand All @@ -178,8 +178,8 @@ Array [
get dataschema(): string | undefined { return this._dataschema; }
set dataschema(dataschema: string | undefined) { this._dataschema = dataschema; }
get time(): string | undefined { return this._time; }
set time(time: string | undefined) { this._time = time; }
get time(): string | Date | undefined { return this._time; }
set time(time: string | Date | undefined) { this._time = time; }
get additionalProperties(): Map<string, any> | undefined { return this._additionalProperties; }
set additionalProperties(additionalProperties: Map<string, any> | undefined) { this._additionalProperties = additionalProperties; }
Expand Down

0 comments on commit 9699cf9

Please sign in to comment.