Skip to content

Commit

Permalink
Add valid data
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Apr 8, 2024
1 parent e37758f commit 8f81a49
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/valid-data/lowercase/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** The built-in color schemes, cased. */
type Foo = "Accent";

export type MyType = Lowercase<Foo>;
10 changes: 10 additions & 0 deletions test/valid-data/lowercase/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$ref": "#/definitions/MyType",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"MyType": {
"const": "accent",
"type": "string"
}
}
}

0 comments on commit 8f81a49

Please sign in to comment.