@thisisagile/easy 8.22.0 → 8.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { Id, Text } from '../types';
2
- export declare class Sentence {
2
+ export declare class Sentence implements Text {
3
3
  private sentence;
4
4
  constructor(word: Text, pre?: Sentence, sentence?: Text[]);
5
5
  toString(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisisagile/easy",
3
- "version": "8.22.0",
3
+ "version": "8.22.2",
4
4
  "description": "Straightforward library for building domain-driven microservice architectures",
5
5
  "author": "Sander Hoogendoorn",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "access": "public"
32
32
  },
33
33
  "devDependencies": {
34
- "@thisisagile/easy-test": "8.22.0",
34
+ "@thisisagile/easy-test": "8.22.2",
35
35
  "@types/form-urlencoded": "^4.4.0",
36
36
  "@types/jsonwebtoken": "^8.5.8",
37
37
  "@types/validator": "^13.7.0"
@@ -1,6 +1,6 @@
1
1
  import { Id, text, Text } from '../types';
2
2
 
3
- export class Sentence {
3
+ export class Sentence implements Text {
4
4
  constructor(word: Text, pre?: Sentence, private sentence: Text[] = (pre?.sentence ?? []).concat(word)) {}
5
5
 
6
6
  toString(): string {