@innet/server 2.0.0-beta.24 → 2.0.0-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type HandlerPlugin } from 'innet';
|
|
2
2
|
import { type SchemaProps } from '../../../types';
|
|
3
|
-
export type StringProps = SchemaProps<
|
|
3
|
+
export type StringProps<T extends string = string> = SchemaProps<T> & {
|
|
4
4
|
/**
|
|
5
5
|
* An optional format modifier serves as a hint at the contents and format of the string.
|
|
6
6
|
* @see https://swagger.io/docs/specification/v3_0/data-models/data-types/#strings
|