diff --git a/test/valid-data/lowercase/main.ts b/test/valid-data/lowercase/main.ts new file mode 100644 index 000000000..c766c3a2a --- /dev/null +++ b/test/valid-data/lowercase/main.ts @@ -0,0 +1,4 @@ +/** The built-in color schemes, cased. */ +type Foo = "Accent"; + +export type MyType = Lowercase; diff --git a/test/valid-data/lowercase/schema.json b/test/valid-data/lowercase/schema.json new file mode 100644 index 000000000..96f16e2a8 --- /dev/null +++ b/test/valid-data/lowercase/schema.json @@ -0,0 +1,10 @@ +{ + "$ref": "#/definitions/MyType", + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "MyType": { + "const": "accent", + "type": "string" + } + } + }