Skip to content

Commit

Permalink
sparqlee: Fix class datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
wschella committed Nov 29, 2017
1 parent 2539089 commit d5bf9d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sparqlee/src/evaluator/expressions/Terms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class TypedLiteral<T> extends BaseLiteral<T> {


export class BooleanLiteral extends TypedLiteral<boolean> {
dataType: DT.XSD_BOOLEAN;
dataType: DT.XSD_BOOLEAN = DT.XSD_BOOLEAN;

constructor(value: boolean) {
super(value);
Expand All @@ -221,7 +221,7 @@ export class BooleanLiteral extends TypedLiteral<boolean> {
}

export class StringLiteral extends TypedLiteral<string> {
dataType: DT.XSD_STRING;
dataType: DT.XSD_STRING = DT.XSD_STRING;

constructor(value: string) {
super(value);
Expand Down Expand Up @@ -322,7 +322,7 @@ export class NumericLiteral extends TypedLiteral<number> {
}

export class DateTimeLiteral extends TypedLiteral<Date> {
dataType: DT.XSD_DATE_TIME;
dataType: DT.XSD_DATE_TIME = DT.XSD_DATE_TIME;

constructor(value: Date) {
super(value);
Expand Down

0 comments on commit d5bf9d2

Please sign in to comment.