mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-02-26 02:42:13 +00:00
test: adjust schema test for broader use cases
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user