@kubb/ast 5.0.0-beta.25 → 5.0.0-beta.27

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/dist/index.d.ts CHANGED
@@ -357,7 +357,7 @@ type FunctionNode = BaseNode & {
357
357
  * TypeScript generic type parameters.
358
358
  * @example ['T', 'U extends string']
359
359
  */
360
- generics?: string | string[] | null;
360
+ generics?: string | Array<string> | null;
361
361
  /**
362
362
  * Return type annotation.
363
363
  * @example 'Pet'
@@ -417,7 +417,7 @@ type ArrowFunctionNode = BaseNode & {
417
417
  * TypeScript generic type parameters.
418
418
  * @example ['T', 'U extends string']
419
419
  */
420
- generics?: string | string[] | null;
420
+ generics?: string | Array<string> | null;
421
421
  /**
422
422
  * Return type annotation.
423
423
  * @example 'Pet'
@@ -1876,7 +1876,7 @@ type InputMeta = {
1876
1876
  * if (circular.has(schema.name)) { ... }
1877
1877
  * ```
1878
1878
  */
1879
- circularNames: readonly string[];
1879
+ circularNames: ReadonlyArray<string>;
1880
1880
  /**
1881
1881
  * Names of schemas whose type is `enum`.
1882
1882
  * Computed once during the adapter pre-scan — use this instead of filtering
@@ -1889,7 +1889,7 @@ type InputMeta = {
1889
1889
  * `const enums = new Set(meta.enumNames)`
1890
1890
  * `const isEnum = enums.has(schemaName)`
1891
1891
  */
1892
- enumNames: readonly string[];
1892
+ enumNames: ReadonlyArray<string>;
1893
1893
  };
1894
1894
  /**
1895
1895
  * Input AST node that contains all schemas and operations for one API document.
@@ -2037,7 +2037,7 @@ type SchemaNodeMap<TDateType extends ParserOptions['dateType'] = 'string'> = [[{
2037
2037
  allOf: ReadonlyArray<unknown>;
2038
2038
  properties: object;
2039
2039
  }, IntersectionSchemaNode], [{
2040
- allOf: readonly [unknown, unknown, ...unknown[]];
2040
+ allOf: readonly [unknown, unknown, ...Array<unknown>];
2041
2041
  }, IntersectionSchemaNode], [{
2042
2042
  allOf: ReadonlyArray<unknown>;
2043
2043
  }, SchemaNode], [{