Skip to content

Commit

Permalink
feat: allow custom string props to be narrowed
Browse files Browse the repository at this point in the history
  • Loading branch information
trezy committed Dec 19, 2024
1 parent 14927ab commit b878fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/typedefs/CustomString.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export interface CustomString {
export interface CustomString<ValueType extends string = string> {
type: 'string',

value: string,
value: ValueType,
}

0 comments on commit b878fca

Please sign in to comment.