test: adjust schema test for broader use cases

This commit is contained in:
Rainer Killinger
2019-05-28 16:15:06 +02:00
parent c4a403e807
commit b965f7cd6e
2 changed files with 33 additions and 1 deletions

View File

@@ -14,6 +14,9 @@
*/
/**
* This is a simple interface declaration for
* testing the schema generation and validation.
*
* @validatable
*/
export interface Foo {
@@ -21,4 +24,15 @@ export interface Foo {
* Dummy parameter
*/
lorem: 'ipsum';
/**
* String literal type property
*/
type: FooType;
}
/**
* This is a simple type declaration for
* usage in the Foo interace.
*/
export type FooType = 'Foo';