@hey-api/openapi-ts 0.87.1 → 0.87.3

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.cts CHANGED
@@ -1,11 +1,11 @@
1
- import { S as MaybeArray, _ as Client$2, a as Plugin, b as IR, c as OpenApiOperationObject, d as OpenApiResponseObject, f as OpenApiSchemaObject, g as ExpressionTransformer, h as TypeTransformer, i as DefinePlugin, l as OpenApiParameterObject, m as Logger, n as UserConfig, o as OpenApi, p as Context, s as OpenApiMetaObject, u as OpenApiRequestBodyObject, v as PluginHandler, x as LazyOrAsync, y as StringCase } from "./config-PWeoedFF.cjs";
1
+ import { $ as Client$2, A as LiteralTsDsl, B as InitTsDsl, C as SetterTsDsl, D as NotTsDsl, E as ObjectTsDsl, F as TypeExprTsDsl, G as BinaryTsDsl, H as FieldTsDsl, I as TypeAttrTsDsl, J as AwaitTsDsl, K as ReturnTsDsl, L as DecoratorTsDsl, M as GetterTsDsl, N as FuncTsDsl, O as NewlineTsDsl, P as ExprTsDsl, Q as ExpressionTransformer, R as ClassTsDsl, S as TemplateTsDsl, T as PatternTsDsl, U as DescribeTsDsl, V as ParamTsDsl, W as AttrTsDsl, X as TsDsl, Y as ArrayTsDsl, Z as TypeTransformer, _ as VarTsDsl, a as Plugin, b as TypeAliasTsDsl, c as OpenApiOperationObject, d as OpenApiResponseObject, et as PluginHandler, f as OpenApiSchemaObject, g as DollarTsDsl, h as $, i as DefinePlugin, it as MaybeArray, j as IfTsDsl, k as NewTsDsl, l as OpenApiParameterObject, m as Logger, n as UserConfig, nt as IR, o as OpenApi, p as Context, q as CallTsDsl, rt as LazyOrAsync, s as OpenApiMetaObject, tt as StringCase, u as OpenApiRequestBodyObject, v as TypeObjectTsDsl, w as RegExpTsDsl, x as ThrowTsDsl, y as TypeLiteralTsDsl, z as MethodTsDsl } from "./config-BI0uP8YS.cjs";
2
2
  import { HttpClient, HttpErrorResponse, HttpHeaders, HttpRequest, HttpResponse } from "@angular/common/http";
3
3
  import { Injector } from "@angular/core";
4
4
  import { AxiosError, AxiosInstance, AxiosRequestHeaders, AxiosResponse, AxiosStatic, CreateAxiosDefaults } from "axios";
5
5
  import { AsyncDataOptions, UseFetchOptions, useAsyncData, useFetch, useLazyAsyncData, useLazyFetch } from "nuxt/app";
6
6
  import { Ref } from "vue";
7
7
  import { FetchOptions, ResponseType, ofetch } from "ofetch";
8
- import * as typescript0 from "typescript";
8
+ import * as typescript34 from "typescript";
9
9
  import ts from "typescript";
10
10
 
11
11
  //#region rolldown:runtime
@@ -1450,17 +1450,17 @@ declare const tsc: {
1450
1450
  comment?: Comments;
1451
1451
  multiLine?: boolean;
1452
1452
  parameters?: FunctionParameter[];
1453
- returnType?: string | typescript0.TypeNode;
1454
- statements?: ReadonlyArray<typescript0.Statement>;
1453
+ returnType?: string | typescript34.TypeNode;
1454
+ statements?: ReadonlyArray<typescript34.Statement>;
1455
1455
  types?: FunctionTypeParameter[];
1456
- }) => typescript0.FunctionExpression;
1456
+ }) => typescript34.FunctionExpression;
1457
1457
  arrayLiteralExpression: <T>({
1458
1458
  elements,
1459
1459
  multiLine
1460
1460
  }: {
1461
1461
  elements: T[];
1462
1462
  multiLine?: boolean;
1463
- }) => typescript0.ArrayLiteralExpression;
1463
+ }) => typescript34.ArrayLiteralExpression;
1464
1464
  arrowFunction: ({
1465
1465
  async,
1466
1466
  comment,
@@ -1474,54 +1474,54 @@ declare const tsc: {
1474
1474
  comment?: Comments;
1475
1475
  multiLine?: boolean;
1476
1476
  parameters?: ReadonlyArray<FunctionParameter>;
1477
- returnType?: string | typescript0.TypeNode;
1478
- statements?: typescript0.Statement[] | typescript0.Expression;
1477
+ returnType?: string | typescript34.TypeNode;
1478
+ statements?: typescript34.Statement[] | typescript34.Expression;
1479
1479
  types?: FunctionTypeParameter[];
1480
- }) => typescript0.ArrowFunction;
1480
+ }) => typescript34.ArrowFunction;
1481
1481
  asExpression: ({
1482
1482
  expression,
1483
1483
  type
1484
1484
  }: {
1485
- expression: typescript0.Expression;
1486
- type: typescript0.TypeNode;
1487
- }) => typescript0.AsExpression;
1485
+ expression: typescript34.Expression;
1486
+ type: typescript34.TypeNode;
1487
+ }) => typescript34.AsExpression;
1488
1488
  assignment: ({
1489
1489
  left,
1490
1490
  right
1491
1491
  }: {
1492
- left: typescript0.Expression;
1493
- right: typescript0.Expression;
1494
- }) => typescript0.AssignmentExpression<typescript0.EqualsToken>;
1492
+ left: typescript34.Expression;
1493
+ right: typescript34.Expression;
1494
+ }) => typescript34.AssignmentExpression<typescript34.EqualsToken>;
1495
1495
  awaitExpression: ({
1496
1496
  expression
1497
1497
  }: {
1498
- expression: typescript0.Expression;
1499
- }) => typescript0.AwaitExpression;
1498
+ expression: typescript34.Expression;
1499
+ }) => typescript34.AwaitExpression;
1500
1500
  binaryExpression: ({
1501
1501
  left,
1502
1502
  operator,
1503
1503
  right
1504
1504
  }: {
1505
- left: typescript0.Expression;
1505
+ left: typescript34.Expression;
1506
1506
  operator?: "=" | "===" | "!==" | "in" | "??";
1507
- right: typescript0.Expression | string;
1508
- }) => typescript0.BinaryExpression;
1507
+ right: typescript34.Expression | string;
1508
+ }) => typescript34.BinaryExpression;
1509
1509
  block: ({
1510
1510
  multiLine,
1511
1511
  statements
1512
1512
  }: {
1513
1513
  multiLine?: boolean;
1514
- statements: ReadonlyArray<typescript0.Statement>;
1515
- }) => typescript0.Block;
1514
+ statements: ReadonlyArray<typescript34.Statement>;
1515
+ }) => typescript34.Block;
1516
1516
  callExpression: ({
1517
1517
  functionName,
1518
1518
  parameters,
1519
1519
  types: types_d_exports
1520
1520
  }: {
1521
- functionName: string | typescript0.PropertyAccessExpression | typescript0.PropertyAccessChain | typescript0.ElementAccessExpression | typescript0.Expression;
1522
- parameters?: Array<string | typescript0.Expression | undefined>;
1523
- types?: ReadonlyArray<typescript0.TypeNode>;
1524
- }) => typescript0.CallExpression;
1521
+ functionName: string | typescript34.PropertyAccessExpression | typescript34.PropertyAccessChain | typescript34.ElementAccessExpression | typescript34.Expression;
1522
+ parameters?: Array<string | typescript34.Expression | undefined>;
1523
+ types?: ReadonlyArray<typescript34.TypeNode>;
1524
+ }) => typescript34.CallExpression;
1525
1525
  classDeclaration: ({
1526
1526
  decorator,
1527
1527
  exportClass,
@@ -1537,18 +1537,18 @@ declare const tsc: {
1537
1537
  exportClass?: boolean;
1538
1538
  extendedClasses?: ReadonlyArray<string>;
1539
1539
  name: string;
1540
- nodes: ReadonlyArray<typescript0.ClassElement>;
1541
- typeParameters?: ReadonlyArray<typescript0.TypeParameterDeclaration>;
1542
- }) => typescript0.ClassDeclaration;
1540
+ nodes: ReadonlyArray<typescript34.ClassElement>;
1541
+ typeParameters?: ReadonlyArray<typescript34.TypeParameterDeclaration>;
1542
+ }) => typescript34.ClassDeclaration;
1543
1543
  conditionalExpression: ({
1544
1544
  condition,
1545
1545
  whenFalse,
1546
1546
  whenTrue
1547
1547
  }: {
1548
- condition: typescript0.Expression;
1549
- whenFalse: typescript0.Expression;
1550
- whenTrue: typescript0.Expression;
1551
- }) => typescript0.ConditionalExpression;
1548
+ condition: typescript34.Expression;
1549
+ whenFalse: typescript34.Expression;
1550
+ whenTrue: typescript34.Expression;
1551
+ }) => typescript34.ConditionalExpression;
1552
1552
  constVariable: ({
1553
1553
  assertion,
1554
1554
  comment,
@@ -1558,14 +1558,14 @@ declare const tsc: {
1558
1558
  name,
1559
1559
  typeName
1560
1560
  }: {
1561
- assertion?: "const" | typescript0.TypeNode;
1561
+ assertion?: "const" | typescript34.TypeNode;
1562
1562
  comment?: Comments;
1563
1563
  destructure?: boolean;
1564
1564
  exportConst?: boolean;
1565
- expression: typescript0.Expression;
1566
- name: string | typescript0.TypeReferenceNode;
1567
- typeName?: string | typescript0.IndexedAccessTypeNode | typescript0.TypeNode;
1568
- }) => typescript0.VariableStatement;
1565
+ expression: typescript34.Expression;
1566
+ name: string | typescript34.TypeReferenceNode;
1567
+ typeName?: string | typescript34.IndexedAccessTypeNode | typescript34.TypeNode;
1568
+ }) => typescript34.VariableStatement;
1569
1569
  constructorDeclaration: ({
1570
1570
  accessLevel,
1571
1571
  comment,
@@ -1577,8 +1577,8 @@ declare const tsc: {
1577
1577
  comment?: Comments;
1578
1578
  multiLine?: boolean;
1579
1579
  parameters?: FunctionParameter[];
1580
- statements?: typescript0.Statement[];
1581
- }) => typescript0.ConstructorDeclaration;
1580
+ statements?: typescript34.Statement[];
1581
+ }) => typescript34.ConstructorDeclaration;
1582
1582
  enumDeclaration: <T extends Record<string, any> | Array<ObjectValue>>({
1583
1583
  asConst,
1584
1584
  comments: enumMemberComments,
@@ -1589,48 +1589,48 @@ declare const tsc: {
1589
1589
  asConst: boolean;
1590
1590
  comments?: Record<string | number, Comments>;
1591
1591
  leadingComment?: Comments;
1592
- name: string | typescript0.TypeReferenceNode;
1592
+ name: string | typescript34.TypeReferenceNode;
1593
1593
  obj: T;
1594
- }) => typescript0.EnumDeclaration;
1594
+ }) => typescript34.EnumDeclaration;
1595
1595
  exportAllDeclaration: ({
1596
1596
  module: module_d_exports,
1597
1597
  shouldAppendJs
1598
1598
  }: {
1599
1599
  module: string;
1600
1600
  shouldAppendJs?: boolean;
1601
- }) => typescript0.ExportDeclaration;
1601
+ }) => typescript34.ExportDeclaration;
1602
1602
  exportNamedDeclaration: ({
1603
1603
  exports,
1604
1604
  module: module_d_exports
1605
1605
  }: {
1606
1606
  exports: Array<ImportExportItem> | ImportExportItem;
1607
1607
  module: string;
1608
- }) => typescript0.ExportDeclaration;
1608
+ }) => typescript34.ExportDeclaration;
1609
1609
  expressionToStatement: ({
1610
1610
  expression
1611
1611
  }: {
1612
- expression: typescript0.Expression;
1613
- }) => typescript0.ExpressionStatement;
1612
+ expression: typescript34.Expression;
1613
+ }) => typescript34.ExpressionStatement;
1614
1614
  forOfStatement: ({
1615
1615
  awaitModifier,
1616
1616
  expression,
1617
1617
  initializer,
1618
1618
  statement
1619
1619
  }: {
1620
- awaitModifier?: typescript0.AwaitKeyword;
1621
- expression: typescript0.Expression;
1622
- initializer: typescript0.ForInitializer;
1623
- statement: typescript0.Statement;
1624
- }) => typescript0.ForOfStatement;
1620
+ awaitModifier?: typescript34.AwaitKeyword;
1621
+ expression: typescript34.Expression;
1622
+ initializer: typescript34.ForInitializer;
1623
+ statement: typescript34.Statement;
1624
+ }) => typescript34.ForOfStatement;
1625
1625
  functionTypeNode: ({
1626
1626
  parameters,
1627
1627
  returnType,
1628
1628
  typeParameters
1629
1629
  }: {
1630
- parameters?: typescript0.ParameterDeclaration[];
1631
- returnType: typescript0.TypeNode;
1632
- typeParameters?: typescript0.TypeParameterDeclaration[];
1633
- }) => typescript0.FunctionTypeNode;
1630
+ parameters?: typescript34.ParameterDeclaration[];
1631
+ returnType: typescript34.TypeNode;
1632
+ typeParameters?: typescript34.TypeParameterDeclaration[];
1633
+ }) => typescript34.FunctionTypeNode;
1634
1634
  getAccessorDeclaration: ({
1635
1635
  modifiers,
1636
1636
  name,
@@ -1638,40 +1638,40 @@ declare const tsc: {
1638
1638
  statements
1639
1639
  }: {
1640
1640
  modifiers?: Modifier | ReadonlyArray<Modifier>;
1641
- name: string | typescript0.PropertyName;
1642
- returnType?: string | typescript0.Identifier;
1643
- statements: ReadonlyArray<typescript0.Statement>;
1644
- }) => typescript0.GetAccessorDeclaration;
1641
+ name: string | typescript34.PropertyName;
1642
+ returnType?: string | typescript34.Identifier;
1643
+ statements: ReadonlyArray<typescript34.Statement>;
1644
+ }) => typescript34.GetAccessorDeclaration;
1645
1645
  identifier: (args: string | {
1646
1646
  text: string;
1647
- }) => typescript0.Identifier;
1647
+ }) => typescript34.Identifier;
1648
1648
  ifStatement: ({
1649
1649
  elseStatement,
1650
1650
  expression,
1651
1651
  thenStatement
1652
1652
  }: {
1653
- elseStatement?: typescript0.Statement;
1654
- expression: typescript0.Expression;
1655
- thenStatement: typescript0.Statement;
1656
- }) => typescript0.IfStatement;
1653
+ elseStatement?: typescript34.Statement;
1654
+ expression: typescript34.Expression;
1655
+ thenStatement: typescript34.Statement;
1656
+ }) => typescript34.IfStatement;
1657
1657
  indexedAccessTypeNode: ({
1658
1658
  indexType,
1659
1659
  objectType
1660
1660
  }: {
1661
- indexType: typescript0.TypeNode;
1662
- objectType: typescript0.TypeNode;
1663
- }) => typescript0.IndexedAccessTypeNode;
1664
- isTsNode: (node: any) => node is typescript0.Expression;
1661
+ indexType: typescript34.TypeNode;
1662
+ objectType: typescript34.TypeNode;
1663
+ }) => typescript34.IndexedAccessTypeNode;
1664
+ isTsNode: (node: any) => node is typescript34.Expression;
1665
1665
  keywordTypeNode: ({
1666
1666
  keyword
1667
1667
  }: {
1668
1668
  keyword: Extract<SyntaxKindKeyword, "any" | "boolean" | "never" | "number" | "string" | "undefined" | "unknown" | "void">;
1669
- }) => typescript0.KeywordTypeNode<typescript0.SyntaxKind.VoidKeyword | typescript0.SyntaxKind.AnyKeyword | typescript0.SyntaxKind.BooleanKeyword | typescript0.SyntaxKind.NeverKeyword | typescript0.SyntaxKind.NumberKeyword | typescript0.SyntaxKind.StringKeyword | typescript0.SyntaxKind.UndefinedKeyword | typescript0.SyntaxKind.UnknownKeyword>;
1669
+ }) => typescript34.KeywordTypeNode<typescript34.SyntaxKind.VoidKeyword | typescript34.SyntaxKind.AnyKeyword | typescript34.SyntaxKind.BooleanKeyword | typescript34.SyntaxKind.NeverKeyword | typescript34.SyntaxKind.NumberKeyword | typescript34.SyntaxKind.StringKeyword | typescript34.SyntaxKind.UndefinedKeyword | typescript34.SyntaxKind.UnknownKeyword>;
1670
1670
  literalTypeNode: ({
1671
1671
  literal
1672
1672
  }: {
1673
- literal: typescript0.LiteralTypeNode["literal"];
1674
- }) => typescript0.LiteralTypeNode;
1673
+ literal: typescript34.LiteralTypeNode["literal"];
1674
+ }) => typescript34.LiteralTypeNode;
1675
1675
  mappedTypeNode: ({
1676
1676
  members,
1677
1677
  nameType,
@@ -1680,13 +1680,13 @@ declare const tsc: {
1680
1680
  type,
1681
1681
  typeParameter
1682
1682
  }: {
1683
- members?: typescript0.NodeArray<typescript0.TypeElement>;
1684
- nameType?: typescript0.TypeNode;
1685
- questionToken?: typescript0.QuestionToken | typescript0.PlusToken | typescript0.MinusToken;
1686
- readonlyToken?: typescript0.ReadonlyKeyword | typescript0.PlusToken | typescript0.MinusToken;
1687
- type?: typescript0.TypeNode;
1688
- typeParameter: typescript0.TypeParameterDeclaration;
1689
- }) => typescript0.MappedTypeNode;
1683
+ members?: typescript34.NodeArray<typescript34.TypeElement>;
1684
+ nameType?: typescript34.TypeNode;
1685
+ questionToken?: typescript34.QuestionToken | typescript34.PlusToken | typescript34.MinusToken;
1686
+ readonlyToken?: typescript34.ReadonlyKeyword | typescript34.PlusToken | typescript34.MinusToken;
1687
+ type?: typescript34.TypeNode;
1688
+ typeParameter: typescript34.TypeParameterDeclaration;
1689
+ }) => typescript34.MappedTypeNode;
1690
1690
  methodDeclaration: ({
1691
1691
  accessLevel,
1692
1692
  comment,
@@ -1704,35 +1704,35 @@ declare const tsc: {
1704
1704
  multiLine?: boolean;
1705
1705
  name: string;
1706
1706
  parameters?: ReadonlyArray<FunctionParameter>;
1707
- returnType?: string | typescript0.TypeNode;
1708
- statements?: typescript0.Statement[];
1707
+ returnType?: string | typescript34.TypeNode;
1708
+ statements?: typescript34.Statement[];
1709
1709
  types?: FunctionTypeParameter[];
1710
- }) => typescript0.MethodDeclaration;
1710
+ }) => typescript34.MethodDeclaration;
1711
1711
  namedImportDeclarations: ({
1712
1712
  imports,
1713
1713
  module: module_d_exports
1714
1714
  }: {
1715
1715
  imports: Array<ImportExportItem> | ImportExportItem;
1716
1716
  module: string;
1717
- }) => typescript0.ImportDeclaration;
1717
+ }) => typescript34.ImportDeclaration;
1718
1718
  namespaceDeclaration: ({
1719
1719
  name,
1720
1720
  statements
1721
1721
  }: {
1722
1722
  name: string;
1723
- statements: Array<typescript0.Statement>;
1724
- }) => typescript0.ModuleDeclaration;
1723
+ statements: Array<typescript34.Statement>;
1724
+ }) => typescript34.ModuleDeclaration;
1725
1725
  newExpression: ({
1726
1726
  argumentsArray,
1727
1727
  expression,
1728
1728
  typeArguments
1729
1729
  }: {
1730
- argumentsArray?: Array<typescript0.Expression>;
1731
- expression: typescript0.Expression;
1732
- typeArguments?: Array<typescript0.TypeNode>;
1733
- }) => typescript0.NewExpression;
1730
+ argumentsArray?: Array<typescript34.Expression>;
1731
+ expression: typescript34.Expression;
1732
+ typeArguments?: Array<typescript34.TypeNode>;
1733
+ }) => typescript34.NewExpression;
1734
1734
  nodeToString: typeof tsNodeToString;
1735
- null: () => typescript0.NullLiteral;
1735
+ null: () => typescript34.NullLiteral;
1736
1736
  objectExpression: <T extends Record<string, any> | Array<ObjectValue>>({
1737
1737
  comments,
1738
1738
  identifiers,
@@ -1747,21 +1747,21 @@ declare const tsc: {
1747
1747
  obj: T;
1748
1748
  shorthand?: boolean;
1749
1749
  unescape?: boolean;
1750
- }) => typescript0.ObjectLiteralExpression;
1750
+ }) => typescript34.ObjectLiteralExpression;
1751
1751
  ots: {
1752
- boolean: (value: boolean) => typescript0.TrueLiteral | typescript0.FalseLiteral;
1752
+ boolean: (value: boolean) => typescript34.TrueLiteral | typescript34.FalseLiteral;
1753
1753
  export: ({
1754
1754
  alias,
1755
1755
  asType,
1756
1756
  name
1757
- }: ImportExportItemObject) => typescript0.ExportSpecifier;
1757
+ }: ImportExportItemObject) => typescript34.ExportSpecifier;
1758
1758
  import: ({
1759
1759
  alias,
1760
1760
  asType,
1761
1761
  name
1762
- }: ImportExportItemObject) => typescript0.ImportSpecifier;
1763
- number: (value: number) => typescript0.NumericLiteral | typescript0.PrefixUnaryExpression;
1764
- string: (value: string, unescape?: boolean) => typescript0.Identifier | typescript0.StringLiteral;
1762
+ }: ImportExportItemObject) => typescript34.ImportSpecifier;
1763
+ number: (value: number) => typescript34.NumericLiteral | typescript34.PrefixUnaryExpression;
1764
+ string: (value: string, unescape?: boolean) => typescript34.Identifier | typescript34.StringLiteral;
1765
1765
  };
1766
1766
  parameterDeclaration: ({
1767
1767
  initializer,
@@ -1770,122 +1770,122 @@ declare const tsc: {
1770
1770
  required,
1771
1771
  type
1772
1772
  }: {
1773
- initializer?: typescript0.Expression;
1774
- modifiers?: ReadonlyArray<typescript0.ModifierLike>;
1775
- name: string | typescript0.BindingName;
1773
+ initializer?: typescript34.Expression;
1774
+ modifiers?: ReadonlyArray<typescript34.ModifierLike>;
1775
+ name: string | typescript34.BindingName;
1776
1776
  required?: boolean;
1777
- type?: typescript0.TypeNode;
1778
- }) => typescript0.ParameterDeclaration;
1777
+ type?: typescript34.TypeNode;
1778
+ }) => typescript34.ParameterDeclaration;
1779
1779
  prefixUnaryExpression: ({
1780
1780
  expression,
1781
1781
  prefix
1782
1782
  }: {
1783
- expression: string | typescript0.Expression;
1784
- prefix: ("!" | "-") | typescript0.PrefixUnaryOperator;
1785
- }) => typescript0.PrefixUnaryExpression;
1783
+ expression: string | typescript34.Expression;
1784
+ prefix: ("-" | "!") | typescript34.PrefixUnaryOperator;
1785
+ }) => typescript34.PrefixUnaryExpression;
1786
1786
  propertyAccessExpression: ({
1787
1787
  expression,
1788
1788
  isOptional,
1789
1789
  name
1790
1790
  }: {
1791
- expression: string | typescript0.Expression;
1791
+ expression: string | typescript34.Expression;
1792
1792
  isOptional?: boolean;
1793
- name: string | number | typescript0.MemberName;
1794
- }) => typescript0.PropertyAccessChain | typescript0.PropertyAccessExpression | typescript0.ElementAccessExpression;
1793
+ name: string | number | typescript34.MemberName;
1794
+ }) => typescript34.PropertyAccessChain | typescript34.PropertyAccessExpression | typescript34.ElementAccessExpression;
1795
1795
  propertyAccessExpressions: ({
1796
1796
  expressions
1797
1797
  }: {
1798
- expressions: Array<string | typescript0.Expression | typescript0.MemberName>;
1799
- }) => typescript0.PropertyAccessExpression;
1798
+ expressions: Array<string | typescript34.Expression | typescript34.MemberName>;
1799
+ }) => typescript34.PropertyAccessExpression;
1800
1800
  propertyAssignment: ({
1801
1801
  initializer,
1802
1802
  name
1803
1803
  }: {
1804
- initializer: typescript0.Expression;
1805
- name: string | typescript0.PropertyName;
1806
- }) => typescript0.PropertyAssignment;
1804
+ initializer: typescript34.Expression;
1805
+ name: string | typescript34.PropertyName;
1806
+ }) => typescript34.PropertyAssignment;
1807
1807
  propertyDeclaration: ({
1808
1808
  initializer,
1809
1809
  modifiers,
1810
1810
  name,
1811
1811
  type
1812
1812
  }: {
1813
- initializer?: typescript0.Expression;
1813
+ initializer?: typescript34.Expression;
1814
1814
  modifiers?: Modifier | ReadonlyArray<Modifier>;
1815
- name: string | typescript0.PropertyName;
1816
- type?: typescript0.TypeNode;
1817
- }) => typescript0.PropertyDeclaration;
1815
+ name: string | typescript34.PropertyName;
1816
+ type?: typescript34.TypeNode;
1817
+ }) => typescript34.PropertyDeclaration;
1818
1818
  regularExpressionLiteral: ({
1819
1819
  flags,
1820
1820
  text
1821
1821
  }: {
1822
1822
  flags?: ReadonlyArray<"g" | "i" | "m" | "s" | "u" | "y">;
1823
1823
  text: string;
1824
- }) => typescript0.RegularExpressionLiteral;
1824
+ }) => typescript34.RegularExpressionLiteral;
1825
1825
  returnFunctionCall: ({
1826
1826
  args,
1827
1827
  name,
1828
1828
  types: types_d_exports
1829
1829
  }: {
1830
1830
  args: any[];
1831
- name: string | typescript0.Expression;
1832
- types?: ReadonlyArray<string | typescript0.StringLiteral>;
1833
- }) => typescript0.ReturnStatement;
1831
+ name: string | typescript34.Expression;
1832
+ types?: ReadonlyArray<string | typescript34.StringLiteral>;
1833
+ }) => typescript34.ReturnStatement;
1834
1834
  returnStatement: ({
1835
1835
  expression
1836
1836
  }: {
1837
- expression?: typescript0.Expression;
1838
- }) => typescript0.ReturnStatement;
1837
+ expression?: typescript34.Expression;
1838
+ }) => typescript34.ReturnStatement;
1839
1839
  returnVariable: ({
1840
1840
  expression
1841
1841
  }: {
1842
- expression: string | typescript0.Expression;
1843
- }) => typescript0.ReturnStatement;
1844
- safeAccessExpression: (path: string[]) => typescript0.Expression;
1842
+ expression: string | typescript34.Expression;
1843
+ }) => typescript34.ReturnStatement;
1844
+ safeAccessExpression: (path: string[]) => typescript34.Expression;
1845
1845
  stringLiteral: ({
1846
1846
  isSingleQuote,
1847
1847
  text
1848
1848
  }: {
1849
1849
  isSingleQuote?: boolean;
1850
1850
  text: string;
1851
- }) => typescript0.StringLiteral;
1851
+ }) => typescript34.StringLiteral;
1852
1852
  templateLiteralType: ({
1853
1853
  value
1854
1854
  }: {
1855
- value: ReadonlyArray<string | typescript0.TypeNode>;
1856
- }) => typescript0.TemplateLiteralTypeNode;
1857
- this: () => typescript0.ThisExpression;
1855
+ value: ReadonlyArray<string | typescript34.TypeNode>;
1856
+ }) => typescript34.TemplateLiteralTypeNode;
1857
+ this: () => typescript34.ThisExpression;
1858
1858
  transformArrayMap: ({
1859
1859
  path,
1860
1860
  transformExpression
1861
1861
  }: {
1862
1862
  path: string[];
1863
- transformExpression: typescript0.Expression;
1864
- }) => typescript0.IfStatement;
1863
+ transformExpression: typescript34.Expression;
1864
+ }) => typescript34.IfStatement;
1865
1865
  transformArrayMutation: ({
1866
1866
  path,
1867
1867
  transformerName
1868
1868
  }: {
1869
1869
  path: string[];
1870
1870
  transformerName: string;
1871
- }) => typescript0.Statement;
1871
+ }) => typescript34.Statement;
1872
1872
  transformDateMutation: ({
1873
1873
  path
1874
1874
  }: {
1875
1875
  path: string[];
1876
- }) => typescript0.Statement;
1876
+ }) => typescript34.Statement;
1877
1877
  transformFunctionMutation: ({
1878
1878
  path,
1879
1879
  transformerName
1880
1880
  }: {
1881
1881
  path: string[];
1882
1882
  transformerName: string;
1883
- }) => typescript0.IfStatement[];
1883
+ }) => typescript34.IfStatement[];
1884
1884
  transformNewDate: ({
1885
1885
  parameterName
1886
1886
  }: {
1887
1887
  parameterName: string;
1888
- }) => typescript0.NewExpression;
1888
+ }) => typescript34.NewExpression;
1889
1889
  typeAliasDeclaration: ({
1890
1890
  comment,
1891
1891
  exportType,
@@ -1895,11 +1895,11 @@ declare const tsc: {
1895
1895
  }: {
1896
1896
  comment?: Comments;
1897
1897
  exportType?: boolean;
1898
- name: string | typescript0.TypeReferenceNode;
1899
- type: string | typescript0.TypeNode | typescript0.Identifier;
1898
+ name: string | typescript34.TypeReferenceNode;
1899
+ type: string | typescript34.TypeNode | typescript34.Identifier;
1900
1900
  typeParameters?: FunctionTypeParameter[];
1901
- }) => typescript0.TypeAliasDeclaration;
1902
- typeArrayNode: (types: ReadonlyArray<any | typescript0.TypeNode> | typescript0.TypeNode | typescript0.Identifier | string, isNullable?: boolean) => typescript0.TypeNode;
1901
+ }) => typescript34.TypeAliasDeclaration;
1902
+ typeArrayNode: (types: ReadonlyArray<any | typescript34.TypeNode> | typescript34.TypeNode | typescript34.Identifier | string, isNullable?: boolean) => typescript34.TypeNode;
1903
1903
  typeInterfaceNode: ({
1904
1904
  indexKey,
1905
1905
  indexProperty,
@@ -1907,70 +1907,70 @@ declare const tsc: {
1907
1907
  properties,
1908
1908
  useLegacyResolution
1909
1909
  }: {
1910
- indexKey?: typescript0.TypeReferenceNode;
1910
+ indexKey?: typescript34.TypeReferenceNode;
1911
1911
  indexProperty?: Property;
1912
1912
  isNullable?: boolean;
1913
1913
  properties: Property[];
1914
1914
  useLegacyResolution: boolean;
1915
- }) => typescript0.TypeNode;
1915
+ }) => typescript34.TypeNode;
1916
1916
  typeIntersectionNode: ({
1917
1917
  isNullable,
1918
1918
  types: types_d_exports
1919
1919
  }: {
1920
1920
  isNullable?: boolean;
1921
- types: (any | typescript0.TypeNode)[];
1922
- }) => typescript0.TypeNode;
1923
- typeNode: (base: any | typescript0.TypeNode, args?: (any | typescript0.TypeNode)[]) => typescript0.TypeNode;
1921
+ types: (any | typescript34.TypeNode)[];
1922
+ }) => typescript34.TypeNode;
1923
+ typeNode: (base: any | typescript34.TypeNode, args?: (any | typescript34.TypeNode)[]) => typescript34.TypeNode;
1924
1924
  typeOfExpression: ({
1925
1925
  text
1926
1926
  }: {
1927
- text: string | typescript0.Identifier;
1928
- }) => typescript0.TypeOfExpression;
1927
+ text: string | typescript34.Identifier;
1928
+ }) => typescript34.TypeOfExpression;
1929
1929
  typeOperatorNode: ({
1930
1930
  operator,
1931
1931
  type
1932
1932
  }: {
1933
1933
  operator: "keyof" | "readonly" | "unique";
1934
- type: typescript0.TypeNode;
1935
- }) => typescript0.TypeOperatorNode;
1934
+ type: typescript34.TypeNode;
1935
+ }) => typescript34.TypeOperatorNode;
1936
1936
  typeParameterDeclaration: ({
1937
1937
  constraint,
1938
1938
  defaultType,
1939
1939
  modifiers,
1940
1940
  name
1941
1941
  }: {
1942
- constraint?: typescript0.TypeNode;
1943
- defaultType?: typescript0.TypeNode;
1944
- modifiers?: Array<typescript0.Modifier>;
1945
- name: string | typescript0.Identifier;
1946
- }) => typescript0.TypeParameterDeclaration;
1942
+ constraint?: typescript34.TypeNode;
1943
+ defaultType?: typescript34.TypeNode;
1944
+ modifiers?: Array<typescript34.Modifier>;
1945
+ name: string | typescript34.Identifier;
1946
+ }) => typescript34.TypeParameterDeclaration;
1947
1947
  typeParenthesizedNode: ({
1948
1948
  type
1949
1949
  }: {
1950
- type: typescript0.TypeNode;
1951
- }) => typescript0.ParenthesizedTypeNode;
1952
- typeRecordNode: (keys: (any | typescript0.TypeNode)[], values: (any | typescript0.TypeNode)[], isNullable?: boolean, useLegacyResolution?: boolean) => typescript0.TypeNode;
1950
+ type: typescript34.TypeNode;
1951
+ }) => typescript34.ParenthesizedTypeNode;
1952
+ typeRecordNode: (keys: (any | typescript34.TypeNode)[], values: (any | typescript34.TypeNode)[], isNullable?: boolean, useLegacyResolution?: boolean) => typescript34.TypeNode;
1953
1953
  typeReferenceNode: ({
1954
1954
  typeArguments,
1955
1955
  typeName
1956
1956
  }: {
1957
- typeArguments?: typescript0.TypeNode[];
1958
- typeName: string | typescript0.EntityName;
1959
- }) => typescript0.TypeReferenceNode;
1957
+ typeArguments?: typescript34.TypeNode[];
1958
+ typeName: string | typescript34.EntityName;
1959
+ }) => typescript34.TypeReferenceNode;
1960
1960
  typeTupleNode: ({
1961
1961
  isNullable,
1962
1962
  types: types_d_exports
1963
1963
  }: {
1964
1964
  isNullable?: boolean;
1965
- types: Array<any | typescript0.TypeNode>;
1966
- }) => typescript0.TypeNode;
1965
+ types: Array<any | typescript34.TypeNode>;
1966
+ }) => typescript34.TypeNode;
1967
1967
  typeUnionNode: ({
1968
1968
  isNullable,
1969
1969
  types: types_d_exports
1970
1970
  }: {
1971
1971
  isNullable?: boolean;
1972
- types: ReadonlyArray<any | typescript0.TypeNode>;
1973
- }) => typescript0.TypeNode;
1972
+ types: ReadonlyArray<any | typescript34.TypeNode>;
1973
+ }) => typescript34.TypeNode;
1974
1974
  valueToExpression: <T = unknown>({
1975
1975
  identifiers,
1976
1976
  isValueAccess,
@@ -1983,7 +1983,7 @@ declare const tsc: {
1983
1983
  shorthand?: boolean;
1984
1984
  unescape?: boolean;
1985
1985
  value: T;
1986
- }) => typescript0.Expression | undefined;
1986
+ }) => typescript34.Expression | undefined;
1987
1987
  };
1988
1988
  /** @deprecated use tsc */
1989
1989
  declare const compiler: {
@@ -2000,17 +2000,17 @@ declare const compiler: {
2000
2000
  comment?: Comments;
2001
2001
  multiLine?: boolean;
2002
2002
  parameters?: FunctionParameter[];
2003
- returnType?: string | typescript0.TypeNode;
2004
- statements?: ReadonlyArray<typescript0.Statement>;
2003
+ returnType?: string | typescript34.TypeNode;
2004
+ statements?: ReadonlyArray<typescript34.Statement>;
2005
2005
  types?: FunctionTypeParameter[];
2006
- }) => typescript0.FunctionExpression;
2006
+ }) => typescript34.FunctionExpression;
2007
2007
  arrayLiteralExpression: <T>({
2008
2008
  elements,
2009
2009
  multiLine
2010
2010
  }: {
2011
2011
  elements: T[];
2012
2012
  multiLine?: boolean;
2013
- }) => typescript0.ArrayLiteralExpression;
2013
+ }) => typescript34.ArrayLiteralExpression;
2014
2014
  arrowFunction: ({
2015
2015
  async,
2016
2016
  comment,
@@ -2024,54 +2024,54 @@ declare const compiler: {
2024
2024
  comment?: Comments;
2025
2025
  multiLine?: boolean;
2026
2026
  parameters?: ReadonlyArray<FunctionParameter>;
2027
- returnType?: string | typescript0.TypeNode;
2028
- statements?: typescript0.Statement[] | typescript0.Expression;
2027
+ returnType?: string | typescript34.TypeNode;
2028
+ statements?: typescript34.Statement[] | typescript34.Expression;
2029
2029
  types?: FunctionTypeParameter[];
2030
- }) => typescript0.ArrowFunction;
2030
+ }) => typescript34.ArrowFunction;
2031
2031
  asExpression: ({
2032
2032
  expression,
2033
2033
  type
2034
2034
  }: {
2035
- expression: typescript0.Expression;
2036
- type: typescript0.TypeNode;
2037
- }) => typescript0.AsExpression;
2035
+ expression: typescript34.Expression;
2036
+ type: typescript34.TypeNode;
2037
+ }) => typescript34.AsExpression;
2038
2038
  assignment: ({
2039
2039
  left,
2040
2040
  right
2041
2041
  }: {
2042
- left: typescript0.Expression;
2043
- right: typescript0.Expression;
2044
- }) => typescript0.AssignmentExpression<typescript0.EqualsToken>;
2042
+ left: typescript34.Expression;
2043
+ right: typescript34.Expression;
2044
+ }) => typescript34.AssignmentExpression<typescript34.EqualsToken>;
2045
2045
  awaitExpression: ({
2046
2046
  expression
2047
2047
  }: {
2048
- expression: typescript0.Expression;
2049
- }) => typescript0.AwaitExpression;
2048
+ expression: typescript34.Expression;
2049
+ }) => typescript34.AwaitExpression;
2050
2050
  binaryExpression: ({
2051
2051
  left,
2052
2052
  operator,
2053
2053
  right
2054
2054
  }: {
2055
- left: typescript0.Expression;
2055
+ left: typescript34.Expression;
2056
2056
  operator?: "=" | "===" | "!==" | "in" | "??";
2057
- right: typescript0.Expression | string;
2058
- }) => typescript0.BinaryExpression;
2057
+ right: typescript34.Expression | string;
2058
+ }) => typescript34.BinaryExpression;
2059
2059
  block: ({
2060
2060
  multiLine,
2061
2061
  statements
2062
2062
  }: {
2063
2063
  multiLine?: boolean;
2064
- statements: ReadonlyArray<typescript0.Statement>;
2065
- }) => typescript0.Block;
2064
+ statements: ReadonlyArray<typescript34.Statement>;
2065
+ }) => typescript34.Block;
2066
2066
  callExpression: ({
2067
2067
  functionName,
2068
2068
  parameters,
2069
2069
  types: types_d_exports
2070
2070
  }: {
2071
- functionName: string | typescript0.PropertyAccessExpression | typescript0.PropertyAccessChain | typescript0.ElementAccessExpression | typescript0.Expression;
2072
- parameters?: Array<string | typescript0.Expression | undefined>;
2073
- types?: ReadonlyArray<typescript0.TypeNode>;
2074
- }) => typescript0.CallExpression;
2071
+ functionName: string | typescript34.PropertyAccessExpression | typescript34.PropertyAccessChain | typescript34.ElementAccessExpression | typescript34.Expression;
2072
+ parameters?: Array<string | typescript34.Expression | undefined>;
2073
+ types?: ReadonlyArray<typescript34.TypeNode>;
2074
+ }) => typescript34.CallExpression;
2075
2075
  classDeclaration: ({
2076
2076
  decorator,
2077
2077
  exportClass,
@@ -2087,18 +2087,18 @@ declare const compiler: {
2087
2087
  exportClass?: boolean;
2088
2088
  extendedClasses?: ReadonlyArray<string>;
2089
2089
  name: string;
2090
- nodes: ReadonlyArray<typescript0.ClassElement>;
2091
- typeParameters?: ReadonlyArray<typescript0.TypeParameterDeclaration>;
2092
- }) => typescript0.ClassDeclaration;
2090
+ nodes: ReadonlyArray<typescript34.ClassElement>;
2091
+ typeParameters?: ReadonlyArray<typescript34.TypeParameterDeclaration>;
2092
+ }) => typescript34.ClassDeclaration;
2093
2093
  conditionalExpression: ({
2094
2094
  condition,
2095
2095
  whenFalse,
2096
2096
  whenTrue
2097
2097
  }: {
2098
- condition: typescript0.Expression;
2099
- whenFalse: typescript0.Expression;
2100
- whenTrue: typescript0.Expression;
2101
- }) => typescript0.ConditionalExpression;
2098
+ condition: typescript34.Expression;
2099
+ whenFalse: typescript34.Expression;
2100
+ whenTrue: typescript34.Expression;
2101
+ }) => typescript34.ConditionalExpression;
2102
2102
  constVariable: ({
2103
2103
  assertion,
2104
2104
  comment,
@@ -2108,14 +2108,14 @@ declare const compiler: {
2108
2108
  name,
2109
2109
  typeName
2110
2110
  }: {
2111
- assertion?: "const" | typescript0.TypeNode;
2111
+ assertion?: "const" | typescript34.TypeNode;
2112
2112
  comment?: Comments;
2113
2113
  destructure?: boolean;
2114
2114
  exportConst?: boolean;
2115
- expression: typescript0.Expression;
2116
- name: string | typescript0.TypeReferenceNode;
2117
- typeName?: string | typescript0.IndexedAccessTypeNode | typescript0.TypeNode;
2118
- }) => typescript0.VariableStatement;
2115
+ expression: typescript34.Expression;
2116
+ name: string | typescript34.TypeReferenceNode;
2117
+ typeName?: string | typescript34.IndexedAccessTypeNode | typescript34.TypeNode;
2118
+ }) => typescript34.VariableStatement;
2119
2119
  constructorDeclaration: ({
2120
2120
  accessLevel,
2121
2121
  comment,
@@ -2127,8 +2127,8 @@ declare const compiler: {
2127
2127
  comment?: Comments;
2128
2128
  multiLine?: boolean;
2129
2129
  parameters?: FunctionParameter[];
2130
- statements?: typescript0.Statement[];
2131
- }) => typescript0.ConstructorDeclaration;
2130
+ statements?: typescript34.Statement[];
2131
+ }) => typescript34.ConstructorDeclaration;
2132
2132
  enumDeclaration: <T extends Record<string, any> | Array<ObjectValue>>({
2133
2133
  asConst,
2134
2134
  comments: enumMemberComments,
@@ -2139,48 +2139,48 @@ declare const compiler: {
2139
2139
  asConst: boolean;
2140
2140
  comments?: Record<string | number, Comments>;
2141
2141
  leadingComment?: Comments;
2142
- name: string | typescript0.TypeReferenceNode;
2142
+ name: string | typescript34.TypeReferenceNode;
2143
2143
  obj: T;
2144
- }) => typescript0.EnumDeclaration;
2144
+ }) => typescript34.EnumDeclaration;
2145
2145
  exportAllDeclaration: ({
2146
2146
  module: module_d_exports,
2147
2147
  shouldAppendJs
2148
2148
  }: {
2149
2149
  module: string;
2150
2150
  shouldAppendJs?: boolean;
2151
- }) => typescript0.ExportDeclaration;
2151
+ }) => typescript34.ExportDeclaration;
2152
2152
  exportNamedDeclaration: ({
2153
2153
  exports,
2154
2154
  module: module_d_exports
2155
2155
  }: {
2156
2156
  exports: Array<ImportExportItem> | ImportExportItem;
2157
2157
  module: string;
2158
- }) => typescript0.ExportDeclaration;
2158
+ }) => typescript34.ExportDeclaration;
2159
2159
  expressionToStatement: ({
2160
2160
  expression
2161
2161
  }: {
2162
- expression: typescript0.Expression;
2163
- }) => typescript0.ExpressionStatement;
2162
+ expression: typescript34.Expression;
2163
+ }) => typescript34.ExpressionStatement;
2164
2164
  forOfStatement: ({
2165
2165
  awaitModifier,
2166
2166
  expression,
2167
2167
  initializer,
2168
2168
  statement
2169
2169
  }: {
2170
- awaitModifier?: typescript0.AwaitKeyword;
2171
- expression: typescript0.Expression;
2172
- initializer: typescript0.ForInitializer;
2173
- statement: typescript0.Statement;
2174
- }) => typescript0.ForOfStatement;
2170
+ awaitModifier?: typescript34.AwaitKeyword;
2171
+ expression: typescript34.Expression;
2172
+ initializer: typescript34.ForInitializer;
2173
+ statement: typescript34.Statement;
2174
+ }) => typescript34.ForOfStatement;
2175
2175
  functionTypeNode: ({
2176
2176
  parameters,
2177
2177
  returnType,
2178
2178
  typeParameters
2179
2179
  }: {
2180
- parameters?: typescript0.ParameterDeclaration[];
2181
- returnType: typescript0.TypeNode;
2182
- typeParameters?: typescript0.TypeParameterDeclaration[];
2183
- }) => typescript0.FunctionTypeNode;
2180
+ parameters?: typescript34.ParameterDeclaration[];
2181
+ returnType: typescript34.TypeNode;
2182
+ typeParameters?: typescript34.TypeParameterDeclaration[];
2183
+ }) => typescript34.FunctionTypeNode;
2184
2184
  getAccessorDeclaration: ({
2185
2185
  modifiers,
2186
2186
  name,
@@ -2188,40 +2188,40 @@ declare const compiler: {
2188
2188
  statements
2189
2189
  }: {
2190
2190
  modifiers?: Modifier | ReadonlyArray<Modifier>;
2191
- name: string | typescript0.PropertyName;
2192
- returnType?: string | typescript0.Identifier;
2193
- statements: ReadonlyArray<typescript0.Statement>;
2194
- }) => typescript0.GetAccessorDeclaration;
2191
+ name: string | typescript34.PropertyName;
2192
+ returnType?: string | typescript34.Identifier;
2193
+ statements: ReadonlyArray<typescript34.Statement>;
2194
+ }) => typescript34.GetAccessorDeclaration;
2195
2195
  identifier: (args: string | {
2196
2196
  text: string;
2197
- }) => typescript0.Identifier;
2197
+ }) => typescript34.Identifier;
2198
2198
  ifStatement: ({
2199
2199
  elseStatement,
2200
2200
  expression,
2201
2201
  thenStatement
2202
2202
  }: {
2203
- elseStatement?: typescript0.Statement;
2204
- expression: typescript0.Expression;
2205
- thenStatement: typescript0.Statement;
2206
- }) => typescript0.IfStatement;
2203
+ elseStatement?: typescript34.Statement;
2204
+ expression: typescript34.Expression;
2205
+ thenStatement: typescript34.Statement;
2206
+ }) => typescript34.IfStatement;
2207
2207
  indexedAccessTypeNode: ({
2208
2208
  indexType,
2209
2209
  objectType
2210
2210
  }: {
2211
- indexType: typescript0.TypeNode;
2212
- objectType: typescript0.TypeNode;
2213
- }) => typescript0.IndexedAccessTypeNode;
2214
- isTsNode: (node: any) => node is typescript0.Expression;
2211
+ indexType: typescript34.TypeNode;
2212
+ objectType: typescript34.TypeNode;
2213
+ }) => typescript34.IndexedAccessTypeNode;
2214
+ isTsNode: (node: any) => node is typescript34.Expression;
2215
2215
  keywordTypeNode: ({
2216
2216
  keyword
2217
2217
  }: {
2218
2218
  keyword: Extract<SyntaxKindKeyword, "any" | "boolean" | "never" | "number" | "string" | "undefined" | "unknown" | "void">;
2219
- }) => typescript0.KeywordTypeNode<typescript0.SyntaxKind.VoidKeyword | typescript0.SyntaxKind.AnyKeyword | typescript0.SyntaxKind.BooleanKeyword | typescript0.SyntaxKind.NeverKeyword | typescript0.SyntaxKind.NumberKeyword | typescript0.SyntaxKind.StringKeyword | typescript0.SyntaxKind.UndefinedKeyword | typescript0.SyntaxKind.UnknownKeyword>;
2219
+ }) => typescript34.KeywordTypeNode<typescript34.SyntaxKind.VoidKeyword | typescript34.SyntaxKind.AnyKeyword | typescript34.SyntaxKind.BooleanKeyword | typescript34.SyntaxKind.NeverKeyword | typescript34.SyntaxKind.NumberKeyword | typescript34.SyntaxKind.StringKeyword | typescript34.SyntaxKind.UndefinedKeyword | typescript34.SyntaxKind.UnknownKeyword>;
2220
2220
  literalTypeNode: ({
2221
2221
  literal
2222
2222
  }: {
2223
- literal: typescript0.LiteralTypeNode["literal"];
2224
- }) => typescript0.LiteralTypeNode;
2223
+ literal: typescript34.LiteralTypeNode["literal"];
2224
+ }) => typescript34.LiteralTypeNode;
2225
2225
  mappedTypeNode: ({
2226
2226
  members,
2227
2227
  nameType,
@@ -2230,13 +2230,13 @@ declare const compiler: {
2230
2230
  type,
2231
2231
  typeParameter
2232
2232
  }: {
2233
- members?: typescript0.NodeArray<typescript0.TypeElement>;
2234
- nameType?: typescript0.TypeNode;
2235
- questionToken?: typescript0.QuestionToken | typescript0.PlusToken | typescript0.MinusToken;
2236
- readonlyToken?: typescript0.ReadonlyKeyword | typescript0.PlusToken | typescript0.MinusToken;
2237
- type?: typescript0.TypeNode;
2238
- typeParameter: typescript0.TypeParameterDeclaration;
2239
- }) => typescript0.MappedTypeNode;
2233
+ members?: typescript34.NodeArray<typescript34.TypeElement>;
2234
+ nameType?: typescript34.TypeNode;
2235
+ questionToken?: typescript34.QuestionToken | typescript34.PlusToken | typescript34.MinusToken;
2236
+ readonlyToken?: typescript34.ReadonlyKeyword | typescript34.PlusToken | typescript34.MinusToken;
2237
+ type?: typescript34.TypeNode;
2238
+ typeParameter: typescript34.TypeParameterDeclaration;
2239
+ }) => typescript34.MappedTypeNode;
2240
2240
  methodDeclaration: ({
2241
2241
  accessLevel,
2242
2242
  comment,
@@ -2254,35 +2254,35 @@ declare const compiler: {
2254
2254
  multiLine?: boolean;
2255
2255
  name: string;
2256
2256
  parameters?: ReadonlyArray<FunctionParameter>;
2257
- returnType?: string | typescript0.TypeNode;
2258
- statements?: typescript0.Statement[];
2257
+ returnType?: string | typescript34.TypeNode;
2258
+ statements?: typescript34.Statement[];
2259
2259
  types?: FunctionTypeParameter[];
2260
- }) => typescript0.MethodDeclaration;
2260
+ }) => typescript34.MethodDeclaration;
2261
2261
  namedImportDeclarations: ({
2262
2262
  imports,
2263
2263
  module: module_d_exports
2264
2264
  }: {
2265
2265
  imports: Array<ImportExportItem> | ImportExportItem;
2266
2266
  module: string;
2267
- }) => typescript0.ImportDeclaration;
2267
+ }) => typescript34.ImportDeclaration;
2268
2268
  namespaceDeclaration: ({
2269
2269
  name,
2270
2270
  statements
2271
2271
  }: {
2272
2272
  name: string;
2273
- statements: Array<typescript0.Statement>;
2274
- }) => typescript0.ModuleDeclaration;
2273
+ statements: Array<typescript34.Statement>;
2274
+ }) => typescript34.ModuleDeclaration;
2275
2275
  newExpression: ({
2276
2276
  argumentsArray,
2277
2277
  expression,
2278
2278
  typeArguments
2279
2279
  }: {
2280
- argumentsArray?: Array<typescript0.Expression>;
2281
- expression: typescript0.Expression;
2282
- typeArguments?: Array<typescript0.TypeNode>;
2283
- }) => typescript0.NewExpression;
2280
+ argumentsArray?: Array<typescript34.Expression>;
2281
+ expression: typescript34.Expression;
2282
+ typeArguments?: Array<typescript34.TypeNode>;
2283
+ }) => typescript34.NewExpression;
2284
2284
  nodeToString: typeof tsNodeToString;
2285
- null: () => typescript0.NullLiteral;
2285
+ null: () => typescript34.NullLiteral;
2286
2286
  objectExpression: <T extends Record<string, any> | Array<ObjectValue>>({
2287
2287
  comments,
2288
2288
  identifiers,
@@ -2297,21 +2297,21 @@ declare const compiler: {
2297
2297
  obj: T;
2298
2298
  shorthand?: boolean;
2299
2299
  unescape?: boolean;
2300
- }) => typescript0.ObjectLiteralExpression;
2300
+ }) => typescript34.ObjectLiteralExpression;
2301
2301
  ots: {
2302
- boolean: (value: boolean) => typescript0.TrueLiteral | typescript0.FalseLiteral;
2302
+ boolean: (value: boolean) => typescript34.TrueLiteral | typescript34.FalseLiteral;
2303
2303
  export: ({
2304
2304
  alias,
2305
2305
  asType,
2306
2306
  name
2307
- }: ImportExportItemObject) => typescript0.ExportSpecifier;
2307
+ }: ImportExportItemObject) => typescript34.ExportSpecifier;
2308
2308
  import: ({
2309
2309
  alias,
2310
2310
  asType,
2311
2311
  name
2312
- }: ImportExportItemObject) => typescript0.ImportSpecifier;
2313
- number: (value: number) => typescript0.NumericLiteral | typescript0.PrefixUnaryExpression;
2314
- string: (value: string, unescape?: boolean) => typescript0.Identifier | typescript0.StringLiteral;
2312
+ }: ImportExportItemObject) => typescript34.ImportSpecifier;
2313
+ number: (value: number) => typescript34.NumericLiteral | typescript34.PrefixUnaryExpression;
2314
+ string: (value: string, unescape?: boolean) => typescript34.Identifier | typescript34.StringLiteral;
2315
2315
  };
2316
2316
  parameterDeclaration: ({
2317
2317
  initializer,
@@ -2320,122 +2320,122 @@ declare const compiler: {
2320
2320
  required,
2321
2321
  type
2322
2322
  }: {
2323
- initializer?: typescript0.Expression;
2324
- modifiers?: ReadonlyArray<typescript0.ModifierLike>;
2325
- name: string | typescript0.BindingName;
2323
+ initializer?: typescript34.Expression;
2324
+ modifiers?: ReadonlyArray<typescript34.ModifierLike>;
2325
+ name: string | typescript34.BindingName;
2326
2326
  required?: boolean;
2327
- type?: typescript0.TypeNode;
2328
- }) => typescript0.ParameterDeclaration;
2327
+ type?: typescript34.TypeNode;
2328
+ }) => typescript34.ParameterDeclaration;
2329
2329
  prefixUnaryExpression: ({
2330
2330
  expression,
2331
2331
  prefix
2332
2332
  }: {
2333
- expression: string | typescript0.Expression;
2334
- prefix: ("!" | "-") | typescript0.PrefixUnaryOperator;
2335
- }) => typescript0.PrefixUnaryExpression;
2333
+ expression: string | typescript34.Expression;
2334
+ prefix: ("-" | "!") | typescript34.PrefixUnaryOperator;
2335
+ }) => typescript34.PrefixUnaryExpression;
2336
2336
  propertyAccessExpression: ({
2337
2337
  expression,
2338
2338
  isOptional,
2339
2339
  name
2340
2340
  }: {
2341
- expression: string | typescript0.Expression;
2341
+ expression: string | typescript34.Expression;
2342
2342
  isOptional?: boolean;
2343
- name: string | number | typescript0.MemberName;
2344
- }) => typescript0.PropertyAccessChain | typescript0.PropertyAccessExpression | typescript0.ElementAccessExpression;
2343
+ name: string | number | typescript34.MemberName;
2344
+ }) => typescript34.PropertyAccessChain | typescript34.PropertyAccessExpression | typescript34.ElementAccessExpression;
2345
2345
  propertyAccessExpressions: ({
2346
2346
  expressions
2347
2347
  }: {
2348
- expressions: Array<string | typescript0.Expression | typescript0.MemberName>;
2349
- }) => typescript0.PropertyAccessExpression;
2348
+ expressions: Array<string | typescript34.Expression | typescript34.MemberName>;
2349
+ }) => typescript34.PropertyAccessExpression;
2350
2350
  propertyAssignment: ({
2351
2351
  initializer,
2352
2352
  name
2353
2353
  }: {
2354
- initializer: typescript0.Expression;
2355
- name: string | typescript0.PropertyName;
2356
- }) => typescript0.PropertyAssignment;
2354
+ initializer: typescript34.Expression;
2355
+ name: string | typescript34.PropertyName;
2356
+ }) => typescript34.PropertyAssignment;
2357
2357
  propertyDeclaration: ({
2358
2358
  initializer,
2359
2359
  modifiers,
2360
2360
  name,
2361
2361
  type
2362
2362
  }: {
2363
- initializer?: typescript0.Expression;
2363
+ initializer?: typescript34.Expression;
2364
2364
  modifiers?: Modifier | ReadonlyArray<Modifier>;
2365
- name: string | typescript0.PropertyName;
2366
- type?: typescript0.TypeNode;
2367
- }) => typescript0.PropertyDeclaration;
2365
+ name: string | typescript34.PropertyName;
2366
+ type?: typescript34.TypeNode;
2367
+ }) => typescript34.PropertyDeclaration;
2368
2368
  regularExpressionLiteral: ({
2369
2369
  flags,
2370
2370
  text
2371
2371
  }: {
2372
2372
  flags?: ReadonlyArray<"g" | "i" | "m" | "s" | "u" | "y">;
2373
2373
  text: string;
2374
- }) => typescript0.RegularExpressionLiteral;
2374
+ }) => typescript34.RegularExpressionLiteral;
2375
2375
  returnFunctionCall: ({
2376
2376
  args,
2377
2377
  name,
2378
2378
  types: types_d_exports
2379
2379
  }: {
2380
2380
  args: any[];
2381
- name: string | typescript0.Expression;
2382
- types?: ReadonlyArray<string | typescript0.StringLiteral>;
2383
- }) => typescript0.ReturnStatement;
2381
+ name: string | typescript34.Expression;
2382
+ types?: ReadonlyArray<string | typescript34.StringLiteral>;
2383
+ }) => typescript34.ReturnStatement;
2384
2384
  returnStatement: ({
2385
2385
  expression
2386
2386
  }: {
2387
- expression?: typescript0.Expression;
2388
- }) => typescript0.ReturnStatement;
2387
+ expression?: typescript34.Expression;
2388
+ }) => typescript34.ReturnStatement;
2389
2389
  returnVariable: ({
2390
2390
  expression
2391
2391
  }: {
2392
- expression: string | typescript0.Expression;
2393
- }) => typescript0.ReturnStatement;
2394
- safeAccessExpression: (path: string[]) => typescript0.Expression;
2392
+ expression: string | typescript34.Expression;
2393
+ }) => typescript34.ReturnStatement;
2394
+ safeAccessExpression: (path: string[]) => typescript34.Expression;
2395
2395
  stringLiteral: ({
2396
2396
  isSingleQuote,
2397
2397
  text
2398
2398
  }: {
2399
2399
  isSingleQuote?: boolean;
2400
2400
  text: string;
2401
- }) => typescript0.StringLiteral;
2401
+ }) => typescript34.StringLiteral;
2402
2402
  templateLiteralType: ({
2403
2403
  value
2404
2404
  }: {
2405
- value: ReadonlyArray<string | typescript0.TypeNode>;
2406
- }) => typescript0.TemplateLiteralTypeNode;
2407
- this: () => typescript0.ThisExpression;
2405
+ value: ReadonlyArray<string | typescript34.TypeNode>;
2406
+ }) => typescript34.TemplateLiteralTypeNode;
2407
+ this: () => typescript34.ThisExpression;
2408
2408
  transformArrayMap: ({
2409
2409
  path,
2410
2410
  transformExpression
2411
2411
  }: {
2412
2412
  path: string[];
2413
- transformExpression: typescript0.Expression;
2414
- }) => typescript0.IfStatement;
2413
+ transformExpression: typescript34.Expression;
2414
+ }) => typescript34.IfStatement;
2415
2415
  transformArrayMutation: ({
2416
2416
  path,
2417
2417
  transformerName
2418
2418
  }: {
2419
2419
  path: string[];
2420
2420
  transformerName: string;
2421
- }) => typescript0.Statement;
2421
+ }) => typescript34.Statement;
2422
2422
  transformDateMutation: ({
2423
2423
  path
2424
2424
  }: {
2425
2425
  path: string[];
2426
- }) => typescript0.Statement;
2426
+ }) => typescript34.Statement;
2427
2427
  transformFunctionMutation: ({
2428
2428
  path,
2429
2429
  transformerName
2430
2430
  }: {
2431
2431
  path: string[];
2432
2432
  transformerName: string;
2433
- }) => typescript0.IfStatement[];
2433
+ }) => typescript34.IfStatement[];
2434
2434
  transformNewDate: ({
2435
2435
  parameterName
2436
2436
  }: {
2437
2437
  parameterName: string;
2438
- }) => typescript0.NewExpression;
2438
+ }) => typescript34.NewExpression;
2439
2439
  typeAliasDeclaration: ({
2440
2440
  comment,
2441
2441
  exportType,
@@ -2445,11 +2445,11 @@ declare const compiler: {
2445
2445
  }: {
2446
2446
  comment?: Comments;
2447
2447
  exportType?: boolean;
2448
- name: string | typescript0.TypeReferenceNode;
2449
- type: string | typescript0.TypeNode | typescript0.Identifier;
2448
+ name: string | typescript34.TypeReferenceNode;
2449
+ type: string | typescript34.TypeNode | typescript34.Identifier;
2450
2450
  typeParameters?: FunctionTypeParameter[];
2451
- }) => typescript0.TypeAliasDeclaration;
2452
- typeArrayNode: (types: ReadonlyArray<any | typescript0.TypeNode> | typescript0.TypeNode | typescript0.Identifier | string, isNullable?: boolean) => typescript0.TypeNode;
2451
+ }) => typescript34.TypeAliasDeclaration;
2452
+ typeArrayNode: (types: ReadonlyArray<any | typescript34.TypeNode> | typescript34.TypeNode | typescript34.Identifier | string, isNullable?: boolean) => typescript34.TypeNode;
2453
2453
  typeInterfaceNode: ({
2454
2454
  indexKey,
2455
2455
  indexProperty,
@@ -2457,70 +2457,70 @@ declare const compiler: {
2457
2457
  properties,
2458
2458
  useLegacyResolution
2459
2459
  }: {
2460
- indexKey?: typescript0.TypeReferenceNode;
2460
+ indexKey?: typescript34.TypeReferenceNode;
2461
2461
  indexProperty?: Property;
2462
2462
  isNullable?: boolean;
2463
2463
  properties: Property[];
2464
2464
  useLegacyResolution: boolean;
2465
- }) => typescript0.TypeNode;
2465
+ }) => typescript34.TypeNode;
2466
2466
  typeIntersectionNode: ({
2467
2467
  isNullable,
2468
2468
  types: types_d_exports
2469
2469
  }: {
2470
2470
  isNullable?: boolean;
2471
- types: (any | typescript0.TypeNode)[];
2472
- }) => typescript0.TypeNode;
2473
- typeNode: (base: any | typescript0.TypeNode, args?: (any | typescript0.TypeNode)[]) => typescript0.TypeNode;
2471
+ types: (any | typescript34.TypeNode)[];
2472
+ }) => typescript34.TypeNode;
2473
+ typeNode: (base: any | typescript34.TypeNode, args?: (any | typescript34.TypeNode)[]) => typescript34.TypeNode;
2474
2474
  typeOfExpression: ({
2475
2475
  text
2476
2476
  }: {
2477
- text: string | typescript0.Identifier;
2478
- }) => typescript0.TypeOfExpression;
2477
+ text: string | typescript34.Identifier;
2478
+ }) => typescript34.TypeOfExpression;
2479
2479
  typeOperatorNode: ({
2480
2480
  operator,
2481
2481
  type
2482
2482
  }: {
2483
2483
  operator: "keyof" | "readonly" | "unique";
2484
- type: typescript0.TypeNode;
2485
- }) => typescript0.TypeOperatorNode;
2484
+ type: typescript34.TypeNode;
2485
+ }) => typescript34.TypeOperatorNode;
2486
2486
  typeParameterDeclaration: ({
2487
2487
  constraint,
2488
2488
  defaultType,
2489
2489
  modifiers,
2490
2490
  name
2491
2491
  }: {
2492
- constraint?: typescript0.TypeNode;
2493
- defaultType?: typescript0.TypeNode;
2494
- modifiers?: Array<typescript0.Modifier>;
2495
- name: string | typescript0.Identifier;
2496
- }) => typescript0.TypeParameterDeclaration;
2492
+ constraint?: typescript34.TypeNode;
2493
+ defaultType?: typescript34.TypeNode;
2494
+ modifiers?: Array<typescript34.Modifier>;
2495
+ name: string | typescript34.Identifier;
2496
+ }) => typescript34.TypeParameterDeclaration;
2497
2497
  typeParenthesizedNode: ({
2498
2498
  type
2499
2499
  }: {
2500
- type: typescript0.TypeNode;
2501
- }) => typescript0.ParenthesizedTypeNode;
2502
- typeRecordNode: (keys: (any | typescript0.TypeNode)[], values: (any | typescript0.TypeNode)[], isNullable?: boolean, useLegacyResolution?: boolean) => typescript0.TypeNode;
2500
+ type: typescript34.TypeNode;
2501
+ }) => typescript34.ParenthesizedTypeNode;
2502
+ typeRecordNode: (keys: (any | typescript34.TypeNode)[], values: (any | typescript34.TypeNode)[], isNullable?: boolean, useLegacyResolution?: boolean) => typescript34.TypeNode;
2503
2503
  typeReferenceNode: ({
2504
2504
  typeArguments,
2505
2505
  typeName
2506
2506
  }: {
2507
- typeArguments?: typescript0.TypeNode[];
2508
- typeName: string | typescript0.EntityName;
2509
- }) => typescript0.TypeReferenceNode;
2507
+ typeArguments?: typescript34.TypeNode[];
2508
+ typeName: string | typescript34.EntityName;
2509
+ }) => typescript34.TypeReferenceNode;
2510
2510
  typeTupleNode: ({
2511
2511
  isNullable,
2512
2512
  types: types_d_exports
2513
2513
  }: {
2514
2514
  isNullable?: boolean;
2515
- types: Array<any | typescript0.TypeNode>;
2516
- }) => typescript0.TypeNode;
2515
+ types: Array<any | typescript34.TypeNode>;
2516
+ }) => typescript34.TypeNode;
2517
2517
  typeUnionNode: ({
2518
2518
  isNullable,
2519
2519
  types: types_d_exports
2520
2520
  }: {
2521
2521
  isNullable?: boolean;
2522
- types: ReadonlyArray<any | typescript0.TypeNode>;
2523
- }) => typescript0.TypeNode;
2522
+ types: ReadonlyArray<any | typescript34.TypeNode>;
2523
+ }) => typescript34.TypeNode;
2524
2524
  valueToExpression: <T = unknown>({
2525
2525
  identifiers,
2526
2526
  isValueAccess,
@@ -2533,7 +2533,7 @@ declare const compiler: {
2533
2533
  shorthand?: boolean;
2534
2534
  unescape?: boolean;
2535
2535
  value: T;
2536
- }) => typescript0.Expression | undefined;
2536
+ }) => typescript34.Expression | undefined;
2537
2537
  };
2538
2538
  //#endregion
2539
2539
  //#region src/utils/exports.d.ts
@@ -2587,5 +2587,5 @@ declare module '@hey-api/codegen-core' {
2587
2587
  */
2588
2588
  declare const defineConfig: <T extends MaybeArray<UserConfig>>(config: LazyOrAsync<T>) => Promise<T>;
2589
2589
  //#endregion
2590
- export { type Client as AngularClient, type Client$1 as AxiosClient, type Client$2 as Client, type DefinePlugin, type ExpressionTransformer, type Client$3 as FetchClient, type IR, Logger, type Client$4 as NextClient, type Client$5 as NuxtClient, type Client$6 as OfetchClient, type OpenApi, type OpenApiMetaObject, type OpenApiOperationObject, type OpenApiParameterObject, type OpenApiRequestBodyObject, type OpenApiResponseObject, type OpenApiSchemaObject, type Plugin, type TypeTransformer, type UserConfig, clientDefaultConfig, clientDefaultMeta, clientPluginHandler, compiler, createClient, defaultPaginationKeywords, defaultPlugins, defineConfig, definePluginConfig, tsc, utils };
2590
+ export { $, type Client as AngularClient, ArrayTsDsl, AttrTsDsl, AwaitTsDsl, type Client$1 as AxiosClient, BinaryTsDsl, CallTsDsl, ClassTsDsl, type Client$2 as Client, DecoratorTsDsl, type DefinePlugin, DescribeTsDsl, DollarTsDsl, ExprTsDsl, type ExpressionTransformer, type Client$3 as FetchClient, FieldTsDsl, FuncTsDsl, GetterTsDsl, type IR, IfTsDsl, InitTsDsl, LiteralTsDsl, Logger, MethodTsDsl, NewTsDsl, NewlineTsDsl, type Client$4 as NextClient, NotTsDsl, type Client$5 as NuxtClient, ObjectTsDsl, type Client$6 as OfetchClient, type OpenApi, type OpenApiMetaObject, type OpenApiOperationObject, type OpenApiParameterObject, type OpenApiRequestBodyObject, type OpenApiResponseObject, type OpenApiSchemaObject, ParamTsDsl, PatternTsDsl, type Plugin, RegExpTsDsl, ReturnTsDsl, SetterTsDsl, TemplateTsDsl, ThrowTsDsl, TsDsl, TypeAliasTsDsl, TypeAttrTsDsl, TypeExprTsDsl, TypeLiteralTsDsl, TypeObjectTsDsl, type TypeTransformer, type UserConfig, VarTsDsl, clientDefaultConfig, clientDefaultMeta, clientPluginHandler, compiler, createClient, defaultPaginationKeywords, defaultPlugins, defineConfig, definePluginConfig, tsc, utils };
2591
2591
  //# sourceMappingURL=index.d.cts.map