Skip to content

Commit

Permalink
Fixes Issue bespoken#66 : Adds AMAZON.LITERAL built-in type
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Nadeau committed Jun 6, 2018
1 parent a3cbbb1 commit 1dcb745
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/model/BuiltinSlotTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export class BuiltinSlotTypes {
public static values(): BuiltinSlotType [] {
return [
new NumberSlotType(),
new LiteralSlotType()
];
}
}
Expand Down Expand Up @@ -73,3 +74,9 @@ export class NumberSlotType extends BuiltinSlotType {
return true;
}
}

export class LiteralSlotType extends BuiltinSlotType {
public constructor() {
super("AMAZON.LITERAL", []);
}
}

0 comments on commit 1dcb745

Please sign in to comment.