@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.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { C as Client$1, D as LazyOrAsync, E as IR, O as MaybeArray, S as Client$3, T as StringCase, _ as Client$2, a as Plugin, b as Client$5, 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, w as Client, x as Client$4, y as Client$6 } from "./config-CNi83ZTD.js";
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, at as Client$1, b as TypeAliasTsDsl, c as OpenApiOperationObject, ct as IR, d as OpenApiResponseObject, et as PluginHandler, f as OpenApiSchemaObject, g as DollarTsDsl, h as $, i as DefinePlugin, it as Client$3, j as IfTsDsl, k as NewTsDsl, l as OpenApiParameterObject, lt as LazyOrAsync, m as Logger, n as UserConfig, nt as Client$5, o as OpenApi, ot as Client, p as Context, q as CallTsDsl, rt as Client$4, s as OpenApiMetaObject, st as StringCase, tt as Client$6, u as OpenApiRequestBodyObject, ut as MaybeArray, v as TypeObjectTsDsl, w as RegExpTsDsl, x as ThrowTsDsl, y as TypeLiteralTsDsl, z as MethodTsDsl } from "./config-BpulPCv9.js";
2
2
  import "@hey-api/codegen-core";
3
- import * as typescript0 from "typescript";
3
+ import * as typescript34 from "typescript";
4
4
  import ts from "typescript";
5
5
 
6
6
  //#region src/generate.d.ts
@@ -578,17 +578,17 @@ declare const tsc: {
578
578
  comment?: Comments;
579
579
  multiLine?: boolean;
580
580
  parameters?: FunctionParameter[];
581
- returnType?: string | typescript0.TypeNode;
582
- statements?: ReadonlyArray<typescript0.Statement>;
581
+ returnType?: string | typescript34.TypeNode;
582
+ statements?: ReadonlyArray<typescript34.Statement>;
583
583
  types?: FunctionTypeParameter[];
584
- }) => typescript0.FunctionExpression;
584
+ }) => typescript34.FunctionExpression;
585
585
  arrayLiteralExpression: <T>({
586
586
  elements,
587
587
  multiLine
588
588
  }: {
589
589
  elements: T[];
590
590
  multiLine?: boolean;
591
- }) => typescript0.ArrayLiteralExpression;
591
+ }) => typescript34.ArrayLiteralExpression;
592
592
  arrowFunction: ({
593
593
  async,
594
594
  comment,
@@ -602,54 +602,54 @@ declare const tsc: {
602
602
  comment?: Comments;
603
603
  multiLine?: boolean;
604
604
  parameters?: ReadonlyArray<FunctionParameter>;
605
- returnType?: string | typescript0.TypeNode;
606
- statements?: typescript0.Statement[] | typescript0.Expression;
605
+ returnType?: string | typescript34.TypeNode;
606
+ statements?: typescript34.Statement[] | typescript34.Expression;
607
607
  types?: FunctionTypeParameter[];
608
- }) => typescript0.ArrowFunction;
608
+ }) => typescript34.ArrowFunction;
609
609
  asExpression: ({
610
610
  expression,
611
611
  type
612
612
  }: {
613
- expression: typescript0.Expression;
614
- type: typescript0.TypeNode;
615
- }) => typescript0.AsExpression;
613
+ expression: typescript34.Expression;
614
+ type: typescript34.TypeNode;
615
+ }) => typescript34.AsExpression;
616
616
  assignment: ({
617
617
  left,
618
618
  right
619
619
  }: {
620
- left: typescript0.Expression;
621
- right: typescript0.Expression;
622
- }) => typescript0.AssignmentExpression<typescript0.EqualsToken>;
620
+ left: typescript34.Expression;
621
+ right: typescript34.Expression;
622
+ }) => typescript34.AssignmentExpression<typescript34.EqualsToken>;
623
623
  awaitExpression: ({
624
624
  expression
625
625
  }: {
626
- expression: typescript0.Expression;
627
- }) => typescript0.AwaitExpression;
626
+ expression: typescript34.Expression;
627
+ }) => typescript34.AwaitExpression;
628
628
  binaryExpression: ({
629
629
  left,
630
630
  operator,
631
631
  right
632
632
  }: {
633
- left: typescript0.Expression;
633
+ left: typescript34.Expression;
634
634
  operator?: "=" | "===" | "!==" | "in" | "??";
635
- right: typescript0.Expression | string;
636
- }) => typescript0.BinaryExpression;
635
+ right: typescript34.Expression | string;
636
+ }) => typescript34.BinaryExpression;
637
637
  block: ({
638
638
  multiLine,
639
639
  statements
640
640
  }: {
641
641
  multiLine?: boolean;
642
- statements: ReadonlyArray<typescript0.Statement>;
643
- }) => typescript0.Block;
642
+ statements: ReadonlyArray<typescript34.Statement>;
643
+ }) => typescript34.Block;
644
644
  callExpression: ({
645
645
  functionName,
646
646
  parameters,
647
647
  types: types_d_exports
648
648
  }: {
649
- functionName: string | typescript0.PropertyAccessExpression | typescript0.PropertyAccessChain | typescript0.ElementAccessExpression | typescript0.Expression;
650
- parameters?: Array<string | typescript0.Expression | undefined>;
651
- types?: ReadonlyArray<typescript0.TypeNode>;
652
- }) => typescript0.CallExpression;
649
+ functionName: string | typescript34.PropertyAccessExpression | typescript34.PropertyAccessChain | typescript34.ElementAccessExpression | typescript34.Expression;
650
+ parameters?: Array<string | typescript34.Expression | undefined>;
651
+ types?: ReadonlyArray<typescript34.TypeNode>;
652
+ }) => typescript34.CallExpression;
653
653
  classDeclaration: ({
654
654
  decorator,
655
655
  exportClass,
@@ -665,18 +665,18 @@ declare const tsc: {
665
665
  exportClass?: boolean;
666
666
  extendedClasses?: ReadonlyArray<string>;
667
667
  name: string;
668
- nodes: ReadonlyArray<typescript0.ClassElement>;
669
- typeParameters?: ReadonlyArray<typescript0.TypeParameterDeclaration>;
670
- }) => typescript0.ClassDeclaration;
668
+ nodes: ReadonlyArray<typescript34.ClassElement>;
669
+ typeParameters?: ReadonlyArray<typescript34.TypeParameterDeclaration>;
670
+ }) => typescript34.ClassDeclaration;
671
671
  conditionalExpression: ({
672
672
  condition,
673
673
  whenFalse,
674
674
  whenTrue
675
675
  }: {
676
- condition: typescript0.Expression;
677
- whenFalse: typescript0.Expression;
678
- whenTrue: typescript0.Expression;
679
- }) => typescript0.ConditionalExpression;
676
+ condition: typescript34.Expression;
677
+ whenFalse: typescript34.Expression;
678
+ whenTrue: typescript34.Expression;
679
+ }) => typescript34.ConditionalExpression;
680
680
  constVariable: ({
681
681
  assertion,
682
682
  comment,
@@ -686,14 +686,14 @@ declare const tsc: {
686
686
  name,
687
687
  typeName
688
688
  }: {
689
- assertion?: "const" | typescript0.TypeNode;
689
+ assertion?: "const" | typescript34.TypeNode;
690
690
  comment?: Comments;
691
691
  destructure?: boolean;
692
692
  exportConst?: boolean;
693
- expression: typescript0.Expression;
694
- name: string | typescript0.TypeReferenceNode;
695
- typeName?: string | typescript0.IndexedAccessTypeNode | typescript0.TypeNode;
696
- }) => typescript0.VariableStatement;
693
+ expression: typescript34.Expression;
694
+ name: string | typescript34.TypeReferenceNode;
695
+ typeName?: string | typescript34.IndexedAccessTypeNode | typescript34.TypeNode;
696
+ }) => typescript34.VariableStatement;
697
697
  constructorDeclaration: ({
698
698
  accessLevel,
699
699
  comment,
@@ -705,8 +705,8 @@ declare const tsc: {
705
705
  comment?: Comments;
706
706
  multiLine?: boolean;
707
707
  parameters?: FunctionParameter[];
708
- statements?: typescript0.Statement[];
709
- }) => typescript0.ConstructorDeclaration;
708
+ statements?: typescript34.Statement[];
709
+ }) => typescript34.ConstructorDeclaration;
710
710
  enumDeclaration: <T extends Record<string, any> | Array<ObjectValue>>({
711
711
  asConst,
712
712
  comments: enumMemberComments,
@@ -717,48 +717,48 @@ declare const tsc: {
717
717
  asConst: boolean;
718
718
  comments?: Record<string | number, Comments>;
719
719
  leadingComment?: Comments;
720
- name: string | typescript0.TypeReferenceNode;
720
+ name: string | typescript34.TypeReferenceNode;
721
721
  obj: T;
722
- }) => typescript0.EnumDeclaration;
722
+ }) => typescript34.EnumDeclaration;
723
723
  exportAllDeclaration: ({
724
724
  module: module_d_exports,
725
725
  shouldAppendJs
726
726
  }: {
727
727
  module: string;
728
728
  shouldAppendJs?: boolean;
729
- }) => typescript0.ExportDeclaration;
729
+ }) => typescript34.ExportDeclaration;
730
730
  exportNamedDeclaration: ({
731
731
  exports,
732
732
  module: module_d_exports
733
733
  }: {
734
734
  exports: Array<ImportExportItem> | ImportExportItem;
735
735
  module: string;
736
- }) => typescript0.ExportDeclaration;
736
+ }) => typescript34.ExportDeclaration;
737
737
  expressionToStatement: ({
738
738
  expression
739
739
  }: {
740
- expression: typescript0.Expression;
741
- }) => typescript0.ExpressionStatement;
740
+ expression: typescript34.Expression;
741
+ }) => typescript34.ExpressionStatement;
742
742
  forOfStatement: ({
743
743
  awaitModifier,
744
744
  expression,
745
745
  initializer,
746
746
  statement
747
747
  }: {
748
- awaitModifier?: typescript0.AwaitKeyword;
749
- expression: typescript0.Expression;
750
- initializer: typescript0.ForInitializer;
751
- statement: typescript0.Statement;
752
- }) => typescript0.ForOfStatement;
748
+ awaitModifier?: typescript34.AwaitKeyword;
749
+ expression: typescript34.Expression;
750
+ initializer: typescript34.ForInitializer;
751
+ statement: typescript34.Statement;
752
+ }) => typescript34.ForOfStatement;
753
753
  functionTypeNode: ({
754
754
  parameters,
755
755
  returnType,
756
756
  typeParameters
757
757
  }: {
758
- parameters?: typescript0.ParameterDeclaration[];
759
- returnType: typescript0.TypeNode;
760
- typeParameters?: typescript0.TypeParameterDeclaration[];
761
- }) => typescript0.FunctionTypeNode;
758
+ parameters?: typescript34.ParameterDeclaration[];
759
+ returnType: typescript34.TypeNode;
760
+ typeParameters?: typescript34.TypeParameterDeclaration[];
761
+ }) => typescript34.FunctionTypeNode;
762
762
  getAccessorDeclaration: ({
763
763
  modifiers,
764
764
  name,
@@ -766,40 +766,40 @@ declare const tsc: {
766
766
  statements
767
767
  }: {
768
768
  modifiers?: Modifier | ReadonlyArray<Modifier>;
769
- name: string | typescript0.PropertyName;
770
- returnType?: string | typescript0.Identifier;
771
- statements: ReadonlyArray<typescript0.Statement>;
772
- }) => typescript0.GetAccessorDeclaration;
769
+ name: string | typescript34.PropertyName;
770
+ returnType?: string | typescript34.Identifier;
771
+ statements: ReadonlyArray<typescript34.Statement>;
772
+ }) => typescript34.GetAccessorDeclaration;
773
773
  identifier: (args: string | {
774
774
  text: string;
775
- }) => typescript0.Identifier;
775
+ }) => typescript34.Identifier;
776
776
  ifStatement: ({
777
777
  elseStatement,
778
778
  expression,
779
779
  thenStatement
780
780
  }: {
781
- elseStatement?: typescript0.Statement;
782
- expression: typescript0.Expression;
783
- thenStatement: typescript0.Statement;
784
- }) => typescript0.IfStatement;
781
+ elseStatement?: typescript34.Statement;
782
+ expression: typescript34.Expression;
783
+ thenStatement: typescript34.Statement;
784
+ }) => typescript34.IfStatement;
785
785
  indexedAccessTypeNode: ({
786
786
  indexType,
787
787
  objectType
788
788
  }: {
789
- indexType: typescript0.TypeNode;
790
- objectType: typescript0.TypeNode;
791
- }) => typescript0.IndexedAccessTypeNode;
792
- isTsNode: (node: any) => node is typescript0.Expression;
789
+ indexType: typescript34.TypeNode;
790
+ objectType: typescript34.TypeNode;
791
+ }) => typescript34.IndexedAccessTypeNode;
792
+ isTsNode: (node: any) => node is typescript34.Expression;
793
793
  keywordTypeNode: ({
794
794
  keyword
795
795
  }: {
796
796
  keyword: Extract<SyntaxKindKeyword, "any" | "boolean" | "never" | "number" | "string" | "undefined" | "unknown" | "void">;
797
- }) => 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>;
797
+ }) => 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>;
798
798
  literalTypeNode: ({
799
799
  literal
800
800
  }: {
801
- literal: typescript0.LiteralTypeNode["literal"];
802
- }) => typescript0.LiteralTypeNode;
801
+ literal: typescript34.LiteralTypeNode["literal"];
802
+ }) => typescript34.LiteralTypeNode;
803
803
  mappedTypeNode: ({
804
804
  members,
805
805
  nameType,
@@ -808,13 +808,13 @@ declare const tsc: {
808
808
  type,
809
809
  typeParameter
810
810
  }: {
811
- members?: typescript0.NodeArray<typescript0.TypeElement>;
812
- nameType?: typescript0.TypeNode;
813
- questionToken?: typescript0.QuestionToken | typescript0.PlusToken | typescript0.MinusToken;
814
- readonlyToken?: typescript0.ReadonlyKeyword | typescript0.PlusToken | typescript0.MinusToken;
815
- type?: typescript0.TypeNode;
816
- typeParameter: typescript0.TypeParameterDeclaration;
817
- }) => typescript0.MappedTypeNode;
811
+ members?: typescript34.NodeArray<typescript34.TypeElement>;
812
+ nameType?: typescript34.TypeNode;
813
+ questionToken?: typescript34.QuestionToken | typescript34.PlusToken | typescript34.MinusToken;
814
+ readonlyToken?: typescript34.ReadonlyKeyword | typescript34.PlusToken | typescript34.MinusToken;
815
+ type?: typescript34.TypeNode;
816
+ typeParameter: typescript34.TypeParameterDeclaration;
817
+ }) => typescript34.MappedTypeNode;
818
818
  methodDeclaration: ({
819
819
  accessLevel,
820
820
  comment,
@@ -832,35 +832,35 @@ declare const tsc: {
832
832
  multiLine?: boolean;
833
833
  name: string;
834
834
  parameters?: ReadonlyArray<FunctionParameter>;
835
- returnType?: string | typescript0.TypeNode;
836
- statements?: typescript0.Statement[];
835
+ returnType?: string | typescript34.TypeNode;
836
+ statements?: typescript34.Statement[];
837
837
  types?: FunctionTypeParameter[];
838
- }) => typescript0.MethodDeclaration;
838
+ }) => typescript34.MethodDeclaration;
839
839
  namedImportDeclarations: ({
840
840
  imports,
841
841
  module: module_d_exports
842
842
  }: {
843
843
  imports: Array<ImportExportItem> | ImportExportItem;
844
844
  module: string;
845
- }) => typescript0.ImportDeclaration;
845
+ }) => typescript34.ImportDeclaration;
846
846
  namespaceDeclaration: ({
847
847
  name,
848
848
  statements
849
849
  }: {
850
850
  name: string;
851
- statements: Array<typescript0.Statement>;
852
- }) => typescript0.ModuleDeclaration;
851
+ statements: Array<typescript34.Statement>;
852
+ }) => typescript34.ModuleDeclaration;
853
853
  newExpression: ({
854
854
  argumentsArray,
855
855
  expression,
856
856
  typeArguments
857
857
  }: {
858
- argumentsArray?: Array<typescript0.Expression>;
859
- expression: typescript0.Expression;
860
- typeArguments?: Array<typescript0.TypeNode>;
861
- }) => typescript0.NewExpression;
858
+ argumentsArray?: Array<typescript34.Expression>;
859
+ expression: typescript34.Expression;
860
+ typeArguments?: Array<typescript34.TypeNode>;
861
+ }) => typescript34.NewExpression;
862
862
  nodeToString: typeof tsNodeToString;
863
- null: () => typescript0.NullLiteral;
863
+ null: () => typescript34.NullLiteral;
864
864
  objectExpression: <T extends Record<string, any> | Array<ObjectValue>>({
865
865
  comments,
866
866
  identifiers,
@@ -875,21 +875,21 @@ declare const tsc: {
875
875
  obj: T;
876
876
  shorthand?: boolean;
877
877
  unescape?: boolean;
878
- }) => typescript0.ObjectLiteralExpression;
878
+ }) => typescript34.ObjectLiteralExpression;
879
879
  ots: {
880
- boolean: (value: boolean) => typescript0.TrueLiteral | typescript0.FalseLiteral;
880
+ boolean: (value: boolean) => typescript34.TrueLiteral | typescript34.FalseLiteral;
881
881
  export: ({
882
882
  alias,
883
883
  asType,
884
884
  name
885
- }: ImportExportItemObject) => typescript0.ExportSpecifier;
885
+ }: ImportExportItemObject) => typescript34.ExportSpecifier;
886
886
  import: ({
887
887
  alias,
888
888
  asType,
889
889
  name
890
- }: ImportExportItemObject) => typescript0.ImportSpecifier;
891
- number: (value: number) => typescript0.NumericLiteral | typescript0.PrefixUnaryExpression;
892
- string: (value: string, unescape?: boolean) => typescript0.Identifier | typescript0.StringLiteral;
890
+ }: ImportExportItemObject) => typescript34.ImportSpecifier;
891
+ number: (value: number) => typescript34.NumericLiteral | typescript34.PrefixUnaryExpression;
892
+ string: (value: string, unescape?: boolean) => typescript34.Identifier | typescript34.StringLiteral;
893
893
  };
894
894
  parameterDeclaration: ({
895
895
  initializer,
@@ -898,122 +898,122 @@ declare const tsc: {
898
898
  required,
899
899
  type
900
900
  }: {
901
- initializer?: typescript0.Expression;
902
- modifiers?: ReadonlyArray<typescript0.ModifierLike>;
903
- name: string | typescript0.BindingName;
901
+ initializer?: typescript34.Expression;
902
+ modifiers?: ReadonlyArray<typescript34.ModifierLike>;
903
+ name: string | typescript34.BindingName;
904
904
  required?: boolean;
905
- type?: typescript0.TypeNode;
906
- }) => typescript0.ParameterDeclaration;
905
+ type?: typescript34.TypeNode;
906
+ }) => typescript34.ParameterDeclaration;
907
907
  prefixUnaryExpression: ({
908
908
  expression,
909
909
  prefix
910
910
  }: {
911
- expression: string | typescript0.Expression;
912
- prefix: ("!" | "-") | typescript0.PrefixUnaryOperator;
913
- }) => typescript0.PrefixUnaryExpression;
911
+ expression: string | typescript34.Expression;
912
+ prefix: ("-" | "!") | typescript34.PrefixUnaryOperator;
913
+ }) => typescript34.PrefixUnaryExpression;
914
914
  propertyAccessExpression: ({
915
915
  expression,
916
916
  isOptional,
917
917
  name
918
918
  }: {
919
- expression: string | typescript0.Expression;
919
+ expression: string | typescript34.Expression;
920
920
  isOptional?: boolean;
921
- name: string | number | typescript0.MemberName;
922
- }) => typescript0.PropertyAccessChain | typescript0.PropertyAccessExpression | typescript0.ElementAccessExpression;
921
+ name: string | number | typescript34.MemberName;
922
+ }) => typescript34.PropertyAccessChain | typescript34.PropertyAccessExpression | typescript34.ElementAccessExpression;
923
923
  propertyAccessExpressions: ({
924
924
  expressions
925
925
  }: {
926
- expressions: Array<string | typescript0.Expression | typescript0.MemberName>;
927
- }) => typescript0.PropertyAccessExpression;
926
+ expressions: Array<string | typescript34.Expression | typescript34.MemberName>;
927
+ }) => typescript34.PropertyAccessExpression;
928
928
  propertyAssignment: ({
929
929
  initializer,
930
930
  name
931
931
  }: {
932
- initializer: typescript0.Expression;
933
- name: string | typescript0.PropertyName;
934
- }) => typescript0.PropertyAssignment;
932
+ initializer: typescript34.Expression;
933
+ name: string | typescript34.PropertyName;
934
+ }) => typescript34.PropertyAssignment;
935
935
  propertyDeclaration: ({
936
936
  initializer,
937
937
  modifiers,
938
938
  name,
939
939
  type
940
940
  }: {
941
- initializer?: typescript0.Expression;
941
+ initializer?: typescript34.Expression;
942
942
  modifiers?: Modifier | ReadonlyArray<Modifier>;
943
- name: string | typescript0.PropertyName;
944
- type?: typescript0.TypeNode;
945
- }) => typescript0.PropertyDeclaration;
943
+ name: string | typescript34.PropertyName;
944
+ type?: typescript34.TypeNode;
945
+ }) => typescript34.PropertyDeclaration;
946
946
  regularExpressionLiteral: ({
947
947
  flags,
948
948
  text
949
949
  }: {
950
950
  flags?: ReadonlyArray<"g" | "i" | "m" | "s" | "u" | "y">;
951
951
  text: string;
952
- }) => typescript0.RegularExpressionLiteral;
952
+ }) => typescript34.RegularExpressionLiteral;
953
953
  returnFunctionCall: ({
954
954
  args,
955
955
  name,
956
956
  types: types_d_exports
957
957
  }: {
958
958
  args: any[];
959
- name: string | typescript0.Expression;
960
- types?: ReadonlyArray<string | typescript0.StringLiteral>;
961
- }) => typescript0.ReturnStatement;
959
+ name: string | typescript34.Expression;
960
+ types?: ReadonlyArray<string | typescript34.StringLiteral>;
961
+ }) => typescript34.ReturnStatement;
962
962
  returnStatement: ({
963
963
  expression
964
964
  }: {
965
- expression?: typescript0.Expression;
966
- }) => typescript0.ReturnStatement;
965
+ expression?: typescript34.Expression;
966
+ }) => typescript34.ReturnStatement;
967
967
  returnVariable: ({
968
968
  expression
969
969
  }: {
970
- expression: string | typescript0.Expression;
971
- }) => typescript0.ReturnStatement;
972
- safeAccessExpression: (path: string[]) => typescript0.Expression;
970
+ expression: string | typescript34.Expression;
971
+ }) => typescript34.ReturnStatement;
972
+ safeAccessExpression: (path: string[]) => typescript34.Expression;
973
973
  stringLiteral: ({
974
974
  isSingleQuote,
975
975
  text
976
976
  }: {
977
977
  isSingleQuote?: boolean;
978
978
  text: string;
979
- }) => typescript0.StringLiteral;
979
+ }) => typescript34.StringLiteral;
980
980
  templateLiteralType: ({
981
981
  value
982
982
  }: {
983
- value: ReadonlyArray<string | typescript0.TypeNode>;
984
- }) => typescript0.TemplateLiteralTypeNode;
985
- this: () => typescript0.ThisExpression;
983
+ value: ReadonlyArray<string | typescript34.TypeNode>;
984
+ }) => typescript34.TemplateLiteralTypeNode;
985
+ this: () => typescript34.ThisExpression;
986
986
  transformArrayMap: ({
987
987
  path,
988
988
  transformExpression
989
989
  }: {
990
990
  path: string[];
991
- transformExpression: typescript0.Expression;
992
- }) => typescript0.IfStatement;
991
+ transformExpression: typescript34.Expression;
992
+ }) => typescript34.IfStatement;
993
993
  transformArrayMutation: ({
994
994
  path,
995
995
  transformerName
996
996
  }: {
997
997
  path: string[];
998
998
  transformerName: string;
999
- }) => typescript0.Statement;
999
+ }) => typescript34.Statement;
1000
1000
  transformDateMutation: ({
1001
1001
  path
1002
1002
  }: {
1003
1003
  path: string[];
1004
- }) => typescript0.Statement;
1004
+ }) => typescript34.Statement;
1005
1005
  transformFunctionMutation: ({
1006
1006
  path,
1007
1007
  transformerName
1008
1008
  }: {
1009
1009
  path: string[];
1010
1010
  transformerName: string;
1011
- }) => typescript0.IfStatement[];
1011
+ }) => typescript34.IfStatement[];
1012
1012
  transformNewDate: ({
1013
1013
  parameterName
1014
1014
  }: {
1015
1015
  parameterName: string;
1016
- }) => typescript0.NewExpression;
1016
+ }) => typescript34.NewExpression;
1017
1017
  typeAliasDeclaration: ({
1018
1018
  comment,
1019
1019
  exportType,
@@ -1023,11 +1023,11 @@ declare const tsc: {
1023
1023
  }: {
1024
1024
  comment?: Comments;
1025
1025
  exportType?: boolean;
1026
- name: string | typescript0.TypeReferenceNode;
1027
- type: string | typescript0.TypeNode | typescript0.Identifier;
1026
+ name: string | typescript34.TypeReferenceNode;
1027
+ type: string | typescript34.TypeNode | typescript34.Identifier;
1028
1028
  typeParameters?: FunctionTypeParameter[];
1029
- }) => typescript0.TypeAliasDeclaration;
1030
- typeArrayNode: (types: ReadonlyArray<any | typescript0.TypeNode> | typescript0.TypeNode | typescript0.Identifier | string, isNullable?: boolean) => typescript0.TypeNode;
1029
+ }) => typescript34.TypeAliasDeclaration;
1030
+ typeArrayNode: (types: ReadonlyArray<any | typescript34.TypeNode> | typescript34.TypeNode | typescript34.Identifier | string, isNullable?: boolean) => typescript34.TypeNode;
1031
1031
  typeInterfaceNode: ({
1032
1032
  indexKey,
1033
1033
  indexProperty,
@@ -1035,70 +1035,70 @@ declare const tsc: {
1035
1035
  properties,
1036
1036
  useLegacyResolution
1037
1037
  }: {
1038
- indexKey?: typescript0.TypeReferenceNode;
1038
+ indexKey?: typescript34.TypeReferenceNode;
1039
1039
  indexProperty?: Property;
1040
1040
  isNullable?: boolean;
1041
1041
  properties: Property[];
1042
1042
  useLegacyResolution: boolean;
1043
- }) => typescript0.TypeNode;
1043
+ }) => typescript34.TypeNode;
1044
1044
  typeIntersectionNode: ({
1045
1045
  isNullable,
1046
1046
  types: types_d_exports
1047
1047
  }: {
1048
1048
  isNullable?: boolean;
1049
- types: (any | typescript0.TypeNode)[];
1050
- }) => typescript0.TypeNode;
1051
- typeNode: (base: any | typescript0.TypeNode, args?: (any | typescript0.TypeNode)[]) => typescript0.TypeNode;
1049
+ types: (any | typescript34.TypeNode)[];
1050
+ }) => typescript34.TypeNode;
1051
+ typeNode: (base: any | typescript34.TypeNode, args?: (any | typescript34.TypeNode)[]) => typescript34.TypeNode;
1052
1052
  typeOfExpression: ({
1053
1053
  text
1054
1054
  }: {
1055
- text: string | typescript0.Identifier;
1056
- }) => typescript0.TypeOfExpression;
1055
+ text: string | typescript34.Identifier;
1056
+ }) => typescript34.TypeOfExpression;
1057
1057
  typeOperatorNode: ({
1058
1058
  operator,
1059
1059
  type
1060
1060
  }: {
1061
1061
  operator: "keyof" | "readonly" | "unique";
1062
- type: typescript0.TypeNode;
1063
- }) => typescript0.TypeOperatorNode;
1062
+ type: typescript34.TypeNode;
1063
+ }) => typescript34.TypeOperatorNode;
1064
1064
  typeParameterDeclaration: ({
1065
1065
  constraint,
1066
1066
  defaultType,
1067
1067
  modifiers,
1068
1068
  name
1069
1069
  }: {
1070
- constraint?: typescript0.TypeNode;
1071
- defaultType?: typescript0.TypeNode;
1072
- modifiers?: Array<typescript0.Modifier>;
1073
- name: string | typescript0.Identifier;
1074
- }) => typescript0.TypeParameterDeclaration;
1070
+ constraint?: typescript34.TypeNode;
1071
+ defaultType?: typescript34.TypeNode;
1072
+ modifiers?: Array<typescript34.Modifier>;
1073
+ name: string | typescript34.Identifier;
1074
+ }) => typescript34.TypeParameterDeclaration;
1075
1075
  typeParenthesizedNode: ({
1076
1076
  type
1077
1077
  }: {
1078
- type: typescript0.TypeNode;
1079
- }) => typescript0.ParenthesizedTypeNode;
1080
- typeRecordNode: (keys: (any | typescript0.TypeNode)[], values: (any | typescript0.TypeNode)[], isNullable?: boolean, useLegacyResolution?: boolean) => typescript0.TypeNode;
1078
+ type: typescript34.TypeNode;
1079
+ }) => typescript34.ParenthesizedTypeNode;
1080
+ typeRecordNode: (keys: (any | typescript34.TypeNode)[], values: (any | typescript34.TypeNode)[], isNullable?: boolean, useLegacyResolution?: boolean) => typescript34.TypeNode;
1081
1081
  typeReferenceNode: ({
1082
1082
  typeArguments,
1083
1083
  typeName
1084
1084
  }: {
1085
- typeArguments?: typescript0.TypeNode[];
1086
- typeName: string | typescript0.EntityName;
1087
- }) => typescript0.TypeReferenceNode;
1085
+ typeArguments?: typescript34.TypeNode[];
1086
+ typeName: string | typescript34.EntityName;
1087
+ }) => typescript34.TypeReferenceNode;
1088
1088
  typeTupleNode: ({
1089
1089
  isNullable,
1090
1090
  types: types_d_exports
1091
1091
  }: {
1092
1092
  isNullable?: boolean;
1093
- types: Array<any | typescript0.TypeNode>;
1094
- }) => typescript0.TypeNode;
1093
+ types: Array<any | typescript34.TypeNode>;
1094
+ }) => typescript34.TypeNode;
1095
1095
  typeUnionNode: ({
1096
1096
  isNullable,
1097
1097
  types: types_d_exports
1098
1098
  }: {
1099
1099
  isNullable?: boolean;
1100
- types: ReadonlyArray<any | typescript0.TypeNode>;
1101
- }) => typescript0.TypeNode;
1100
+ types: ReadonlyArray<any | typescript34.TypeNode>;
1101
+ }) => typescript34.TypeNode;
1102
1102
  valueToExpression: <T = unknown>({
1103
1103
  identifiers,
1104
1104
  isValueAccess,
@@ -1111,7 +1111,7 @@ declare const tsc: {
1111
1111
  shorthand?: boolean;
1112
1112
  unescape?: boolean;
1113
1113
  value: T;
1114
- }) => typescript0.Expression | undefined;
1114
+ }) => typescript34.Expression | undefined;
1115
1115
  };
1116
1116
  /** @deprecated use tsc */
1117
1117
  declare const compiler: {
@@ -1128,17 +1128,17 @@ declare const compiler: {
1128
1128
  comment?: Comments;
1129
1129
  multiLine?: boolean;
1130
1130
  parameters?: FunctionParameter[];
1131
- returnType?: string | typescript0.TypeNode;
1132
- statements?: ReadonlyArray<typescript0.Statement>;
1131
+ returnType?: string | typescript34.TypeNode;
1132
+ statements?: ReadonlyArray<typescript34.Statement>;
1133
1133
  types?: FunctionTypeParameter[];
1134
- }) => typescript0.FunctionExpression;
1134
+ }) => typescript34.FunctionExpression;
1135
1135
  arrayLiteralExpression: <T>({
1136
1136
  elements,
1137
1137
  multiLine
1138
1138
  }: {
1139
1139
  elements: T[];
1140
1140
  multiLine?: boolean;
1141
- }) => typescript0.ArrayLiteralExpression;
1141
+ }) => typescript34.ArrayLiteralExpression;
1142
1142
  arrowFunction: ({
1143
1143
  async,
1144
1144
  comment,
@@ -1152,54 +1152,54 @@ declare const compiler: {
1152
1152
  comment?: Comments;
1153
1153
  multiLine?: boolean;
1154
1154
  parameters?: ReadonlyArray<FunctionParameter>;
1155
- returnType?: string | typescript0.TypeNode;
1156
- statements?: typescript0.Statement[] | typescript0.Expression;
1155
+ returnType?: string | typescript34.TypeNode;
1156
+ statements?: typescript34.Statement[] | typescript34.Expression;
1157
1157
  types?: FunctionTypeParameter[];
1158
- }) => typescript0.ArrowFunction;
1158
+ }) => typescript34.ArrowFunction;
1159
1159
  asExpression: ({
1160
1160
  expression,
1161
1161
  type
1162
1162
  }: {
1163
- expression: typescript0.Expression;
1164
- type: typescript0.TypeNode;
1165
- }) => typescript0.AsExpression;
1163
+ expression: typescript34.Expression;
1164
+ type: typescript34.TypeNode;
1165
+ }) => typescript34.AsExpression;
1166
1166
  assignment: ({
1167
1167
  left,
1168
1168
  right
1169
1169
  }: {
1170
- left: typescript0.Expression;
1171
- right: typescript0.Expression;
1172
- }) => typescript0.AssignmentExpression<typescript0.EqualsToken>;
1170
+ left: typescript34.Expression;
1171
+ right: typescript34.Expression;
1172
+ }) => typescript34.AssignmentExpression<typescript34.EqualsToken>;
1173
1173
  awaitExpression: ({
1174
1174
  expression
1175
1175
  }: {
1176
- expression: typescript0.Expression;
1177
- }) => typescript0.AwaitExpression;
1176
+ expression: typescript34.Expression;
1177
+ }) => typescript34.AwaitExpression;
1178
1178
  binaryExpression: ({
1179
1179
  left,
1180
1180
  operator,
1181
1181
  right
1182
1182
  }: {
1183
- left: typescript0.Expression;
1183
+ left: typescript34.Expression;
1184
1184
  operator?: "=" | "===" | "!==" | "in" | "??";
1185
- right: typescript0.Expression | string;
1186
- }) => typescript0.BinaryExpression;
1185
+ right: typescript34.Expression | string;
1186
+ }) => typescript34.BinaryExpression;
1187
1187
  block: ({
1188
1188
  multiLine,
1189
1189
  statements
1190
1190
  }: {
1191
1191
  multiLine?: boolean;
1192
- statements: ReadonlyArray<typescript0.Statement>;
1193
- }) => typescript0.Block;
1192
+ statements: ReadonlyArray<typescript34.Statement>;
1193
+ }) => typescript34.Block;
1194
1194
  callExpression: ({
1195
1195
  functionName,
1196
1196
  parameters,
1197
1197
  types: types_d_exports
1198
1198
  }: {
1199
- functionName: string | typescript0.PropertyAccessExpression | typescript0.PropertyAccessChain | typescript0.ElementAccessExpression | typescript0.Expression;
1200
- parameters?: Array<string | typescript0.Expression | undefined>;
1201
- types?: ReadonlyArray<typescript0.TypeNode>;
1202
- }) => typescript0.CallExpression;
1199
+ functionName: string | typescript34.PropertyAccessExpression | typescript34.PropertyAccessChain | typescript34.ElementAccessExpression | typescript34.Expression;
1200
+ parameters?: Array<string | typescript34.Expression | undefined>;
1201
+ types?: ReadonlyArray<typescript34.TypeNode>;
1202
+ }) => typescript34.CallExpression;
1203
1203
  classDeclaration: ({
1204
1204
  decorator,
1205
1205
  exportClass,
@@ -1215,18 +1215,18 @@ declare const compiler: {
1215
1215
  exportClass?: boolean;
1216
1216
  extendedClasses?: ReadonlyArray<string>;
1217
1217
  name: string;
1218
- nodes: ReadonlyArray<typescript0.ClassElement>;
1219
- typeParameters?: ReadonlyArray<typescript0.TypeParameterDeclaration>;
1220
- }) => typescript0.ClassDeclaration;
1218
+ nodes: ReadonlyArray<typescript34.ClassElement>;
1219
+ typeParameters?: ReadonlyArray<typescript34.TypeParameterDeclaration>;
1220
+ }) => typescript34.ClassDeclaration;
1221
1221
  conditionalExpression: ({
1222
1222
  condition,
1223
1223
  whenFalse,
1224
1224
  whenTrue
1225
1225
  }: {
1226
- condition: typescript0.Expression;
1227
- whenFalse: typescript0.Expression;
1228
- whenTrue: typescript0.Expression;
1229
- }) => typescript0.ConditionalExpression;
1226
+ condition: typescript34.Expression;
1227
+ whenFalse: typescript34.Expression;
1228
+ whenTrue: typescript34.Expression;
1229
+ }) => typescript34.ConditionalExpression;
1230
1230
  constVariable: ({
1231
1231
  assertion,
1232
1232
  comment,
@@ -1236,14 +1236,14 @@ declare const compiler: {
1236
1236
  name,
1237
1237
  typeName
1238
1238
  }: {
1239
- assertion?: "const" | typescript0.TypeNode;
1239
+ assertion?: "const" | typescript34.TypeNode;
1240
1240
  comment?: Comments;
1241
1241
  destructure?: boolean;
1242
1242
  exportConst?: boolean;
1243
- expression: typescript0.Expression;
1244
- name: string | typescript0.TypeReferenceNode;
1245
- typeName?: string | typescript0.IndexedAccessTypeNode | typescript0.TypeNode;
1246
- }) => typescript0.VariableStatement;
1243
+ expression: typescript34.Expression;
1244
+ name: string | typescript34.TypeReferenceNode;
1245
+ typeName?: string | typescript34.IndexedAccessTypeNode | typescript34.TypeNode;
1246
+ }) => typescript34.VariableStatement;
1247
1247
  constructorDeclaration: ({
1248
1248
  accessLevel,
1249
1249
  comment,
@@ -1255,8 +1255,8 @@ declare const compiler: {
1255
1255
  comment?: Comments;
1256
1256
  multiLine?: boolean;
1257
1257
  parameters?: FunctionParameter[];
1258
- statements?: typescript0.Statement[];
1259
- }) => typescript0.ConstructorDeclaration;
1258
+ statements?: typescript34.Statement[];
1259
+ }) => typescript34.ConstructorDeclaration;
1260
1260
  enumDeclaration: <T extends Record<string, any> | Array<ObjectValue>>({
1261
1261
  asConst,
1262
1262
  comments: enumMemberComments,
@@ -1267,48 +1267,48 @@ declare const compiler: {
1267
1267
  asConst: boolean;
1268
1268
  comments?: Record<string | number, Comments>;
1269
1269
  leadingComment?: Comments;
1270
- name: string | typescript0.TypeReferenceNode;
1270
+ name: string | typescript34.TypeReferenceNode;
1271
1271
  obj: T;
1272
- }) => typescript0.EnumDeclaration;
1272
+ }) => typescript34.EnumDeclaration;
1273
1273
  exportAllDeclaration: ({
1274
1274
  module: module_d_exports,
1275
1275
  shouldAppendJs
1276
1276
  }: {
1277
1277
  module: string;
1278
1278
  shouldAppendJs?: boolean;
1279
- }) => typescript0.ExportDeclaration;
1279
+ }) => typescript34.ExportDeclaration;
1280
1280
  exportNamedDeclaration: ({
1281
1281
  exports,
1282
1282
  module: module_d_exports
1283
1283
  }: {
1284
1284
  exports: Array<ImportExportItem> | ImportExportItem;
1285
1285
  module: string;
1286
- }) => typescript0.ExportDeclaration;
1286
+ }) => typescript34.ExportDeclaration;
1287
1287
  expressionToStatement: ({
1288
1288
  expression
1289
1289
  }: {
1290
- expression: typescript0.Expression;
1291
- }) => typescript0.ExpressionStatement;
1290
+ expression: typescript34.Expression;
1291
+ }) => typescript34.ExpressionStatement;
1292
1292
  forOfStatement: ({
1293
1293
  awaitModifier,
1294
1294
  expression,
1295
1295
  initializer,
1296
1296
  statement
1297
1297
  }: {
1298
- awaitModifier?: typescript0.AwaitKeyword;
1299
- expression: typescript0.Expression;
1300
- initializer: typescript0.ForInitializer;
1301
- statement: typescript0.Statement;
1302
- }) => typescript0.ForOfStatement;
1298
+ awaitModifier?: typescript34.AwaitKeyword;
1299
+ expression: typescript34.Expression;
1300
+ initializer: typescript34.ForInitializer;
1301
+ statement: typescript34.Statement;
1302
+ }) => typescript34.ForOfStatement;
1303
1303
  functionTypeNode: ({
1304
1304
  parameters,
1305
1305
  returnType,
1306
1306
  typeParameters
1307
1307
  }: {
1308
- parameters?: typescript0.ParameterDeclaration[];
1309
- returnType: typescript0.TypeNode;
1310
- typeParameters?: typescript0.TypeParameterDeclaration[];
1311
- }) => typescript0.FunctionTypeNode;
1308
+ parameters?: typescript34.ParameterDeclaration[];
1309
+ returnType: typescript34.TypeNode;
1310
+ typeParameters?: typescript34.TypeParameterDeclaration[];
1311
+ }) => typescript34.FunctionTypeNode;
1312
1312
  getAccessorDeclaration: ({
1313
1313
  modifiers,
1314
1314
  name,
@@ -1316,40 +1316,40 @@ declare const compiler: {
1316
1316
  statements
1317
1317
  }: {
1318
1318
  modifiers?: Modifier | ReadonlyArray<Modifier>;
1319
- name: string | typescript0.PropertyName;
1320
- returnType?: string | typescript0.Identifier;
1321
- statements: ReadonlyArray<typescript0.Statement>;
1322
- }) => typescript0.GetAccessorDeclaration;
1319
+ name: string | typescript34.PropertyName;
1320
+ returnType?: string | typescript34.Identifier;
1321
+ statements: ReadonlyArray<typescript34.Statement>;
1322
+ }) => typescript34.GetAccessorDeclaration;
1323
1323
  identifier: (args: string | {
1324
1324
  text: string;
1325
- }) => typescript0.Identifier;
1325
+ }) => typescript34.Identifier;
1326
1326
  ifStatement: ({
1327
1327
  elseStatement,
1328
1328
  expression,
1329
1329
  thenStatement
1330
1330
  }: {
1331
- elseStatement?: typescript0.Statement;
1332
- expression: typescript0.Expression;
1333
- thenStatement: typescript0.Statement;
1334
- }) => typescript0.IfStatement;
1331
+ elseStatement?: typescript34.Statement;
1332
+ expression: typescript34.Expression;
1333
+ thenStatement: typescript34.Statement;
1334
+ }) => typescript34.IfStatement;
1335
1335
  indexedAccessTypeNode: ({
1336
1336
  indexType,
1337
1337
  objectType
1338
1338
  }: {
1339
- indexType: typescript0.TypeNode;
1340
- objectType: typescript0.TypeNode;
1341
- }) => typescript0.IndexedAccessTypeNode;
1342
- isTsNode: (node: any) => node is typescript0.Expression;
1339
+ indexType: typescript34.TypeNode;
1340
+ objectType: typescript34.TypeNode;
1341
+ }) => typescript34.IndexedAccessTypeNode;
1342
+ isTsNode: (node: any) => node is typescript34.Expression;
1343
1343
  keywordTypeNode: ({
1344
1344
  keyword
1345
1345
  }: {
1346
1346
  keyword: Extract<SyntaxKindKeyword, "any" | "boolean" | "never" | "number" | "string" | "undefined" | "unknown" | "void">;
1347
- }) => 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>;
1347
+ }) => 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>;
1348
1348
  literalTypeNode: ({
1349
1349
  literal
1350
1350
  }: {
1351
- literal: typescript0.LiteralTypeNode["literal"];
1352
- }) => typescript0.LiteralTypeNode;
1351
+ literal: typescript34.LiteralTypeNode["literal"];
1352
+ }) => typescript34.LiteralTypeNode;
1353
1353
  mappedTypeNode: ({
1354
1354
  members,
1355
1355
  nameType,
@@ -1358,13 +1358,13 @@ declare const compiler: {
1358
1358
  type,
1359
1359
  typeParameter
1360
1360
  }: {
1361
- members?: typescript0.NodeArray<typescript0.TypeElement>;
1362
- nameType?: typescript0.TypeNode;
1363
- questionToken?: typescript0.QuestionToken | typescript0.PlusToken | typescript0.MinusToken;
1364
- readonlyToken?: typescript0.ReadonlyKeyword | typescript0.PlusToken | typescript0.MinusToken;
1365
- type?: typescript0.TypeNode;
1366
- typeParameter: typescript0.TypeParameterDeclaration;
1367
- }) => typescript0.MappedTypeNode;
1361
+ members?: typescript34.NodeArray<typescript34.TypeElement>;
1362
+ nameType?: typescript34.TypeNode;
1363
+ questionToken?: typescript34.QuestionToken | typescript34.PlusToken | typescript34.MinusToken;
1364
+ readonlyToken?: typescript34.ReadonlyKeyword | typescript34.PlusToken | typescript34.MinusToken;
1365
+ type?: typescript34.TypeNode;
1366
+ typeParameter: typescript34.TypeParameterDeclaration;
1367
+ }) => typescript34.MappedTypeNode;
1368
1368
  methodDeclaration: ({
1369
1369
  accessLevel,
1370
1370
  comment,
@@ -1382,35 +1382,35 @@ declare const compiler: {
1382
1382
  multiLine?: boolean;
1383
1383
  name: string;
1384
1384
  parameters?: ReadonlyArray<FunctionParameter>;
1385
- returnType?: string | typescript0.TypeNode;
1386
- statements?: typescript0.Statement[];
1385
+ returnType?: string | typescript34.TypeNode;
1386
+ statements?: typescript34.Statement[];
1387
1387
  types?: FunctionTypeParameter[];
1388
- }) => typescript0.MethodDeclaration;
1388
+ }) => typescript34.MethodDeclaration;
1389
1389
  namedImportDeclarations: ({
1390
1390
  imports,
1391
1391
  module: module_d_exports
1392
1392
  }: {
1393
1393
  imports: Array<ImportExportItem> | ImportExportItem;
1394
1394
  module: string;
1395
- }) => typescript0.ImportDeclaration;
1395
+ }) => typescript34.ImportDeclaration;
1396
1396
  namespaceDeclaration: ({
1397
1397
  name,
1398
1398
  statements
1399
1399
  }: {
1400
1400
  name: string;
1401
- statements: Array<typescript0.Statement>;
1402
- }) => typescript0.ModuleDeclaration;
1401
+ statements: Array<typescript34.Statement>;
1402
+ }) => typescript34.ModuleDeclaration;
1403
1403
  newExpression: ({
1404
1404
  argumentsArray,
1405
1405
  expression,
1406
1406
  typeArguments
1407
1407
  }: {
1408
- argumentsArray?: Array<typescript0.Expression>;
1409
- expression: typescript0.Expression;
1410
- typeArguments?: Array<typescript0.TypeNode>;
1411
- }) => typescript0.NewExpression;
1408
+ argumentsArray?: Array<typescript34.Expression>;
1409
+ expression: typescript34.Expression;
1410
+ typeArguments?: Array<typescript34.TypeNode>;
1411
+ }) => typescript34.NewExpression;
1412
1412
  nodeToString: typeof tsNodeToString;
1413
- null: () => typescript0.NullLiteral;
1413
+ null: () => typescript34.NullLiteral;
1414
1414
  objectExpression: <T extends Record<string, any> | Array<ObjectValue>>({
1415
1415
  comments,
1416
1416
  identifiers,
@@ -1425,21 +1425,21 @@ declare const compiler: {
1425
1425
  obj: T;
1426
1426
  shorthand?: boolean;
1427
1427
  unescape?: boolean;
1428
- }) => typescript0.ObjectLiteralExpression;
1428
+ }) => typescript34.ObjectLiteralExpression;
1429
1429
  ots: {
1430
- boolean: (value: boolean) => typescript0.TrueLiteral | typescript0.FalseLiteral;
1430
+ boolean: (value: boolean) => typescript34.TrueLiteral | typescript34.FalseLiteral;
1431
1431
  export: ({
1432
1432
  alias,
1433
1433
  asType,
1434
1434
  name
1435
- }: ImportExportItemObject) => typescript0.ExportSpecifier;
1435
+ }: ImportExportItemObject) => typescript34.ExportSpecifier;
1436
1436
  import: ({
1437
1437
  alias,
1438
1438
  asType,
1439
1439
  name
1440
- }: ImportExportItemObject) => typescript0.ImportSpecifier;
1441
- number: (value: number) => typescript0.NumericLiteral | typescript0.PrefixUnaryExpression;
1442
- string: (value: string, unescape?: boolean) => typescript0.Identifier | typescript0.StringLiteral;
1440
+ }: ImportExportItemObject) => typescript34.ImportSpecifier;
1441
+ number: (value: number) => typescript34.NumericLiteral | typescript34.PrefixUnaryExpression;
1442
+ string: (value: string, unescape?: boolean) => typescript34.Identifier | typescript34.StringLiteral;
1443
1443
  };
1444
1444
  parameterDeclaration: ({
1445
1445
  initializer,
@@ -1448,122 +1448,122 @@ declare const compiler: {
1448
1448
  required,
1449
1449
  type
1450
1450
  }: {
1451
- initializer?: typescript0.Expression;
1452
- modifiers?: ReadonlyArray<typescript0.ModifierLike>;
1453
- name: string | typescript0.BindingName;
1451
+ initializer?: typescript34.Expression;
1452
+ modifiers?: ReadonlyArray<typescript34.ModifierLike>;
1453
+ name: string | typescript34.BindingName;
1454
1454
  required?: boolean;
1455
- type?: typescript0.TypeNode;
1456
- }) => typescript0.ParameterDeclaration;
1455
+ type?: typescript34.TypeNode;
1456
+ }) => typescript34.ParameterDeclaration;
1457
1457
  prefixUnaryExpression: ({
1458
1458
  expression,
1459
1459
  prefix
1460
1460
  }: {
1461
- expression: string | typescript0.Expression;
1462
- prefix: ("!" | "-") | typescript0.PrefixUnaryOperator;
1463
- }) => typescript0.PrefixUnaryExpression;
1461
+ expression: string | typescript34.Expression;
1462
+ prefix: ("-" | "!") | typescript34.PrefixUnaryOperator;
1463
+ }) => typescript34.PrefixUnaryExpression;
1464
1464
  propertyAccessExpression: ({
1465
1465
  expression,
1466
1466
  isOptional,
1467
1467
  name
1468
1468
  }: {
1469
- expression: string | typescript0.Expression;
1469
+ expression: string | typescript34.Expression;
1470
1470
  isOptional?: boolean;
1471
- name: string | number | typescript0.MemberName;
1472
- }) => typescript0.PropertyAccessChain | typescript0.PropertyAccessExpression | typescript0.ElementAccessExpression;
1471
+ name: string | number | typescript34.MemberName;
1472
+ }) => typescript34.PropertyAccessChain | typescript34.PropertyAccessExpression | typescript34.ElementAccessExpression;
1473
1473
  propertyAccessExpressions: ({
1474
1474
  expressions
1475
1475
  }: {
1476
- expressions: Array<string | typescript0.Expression | typescript0.MemberName>;
1477
- }) => typescript0.PropertyAccessExpression;
1476
+ expressions: Array<string | typescript34.Expression | typescript34.MemberName>;
1477
+ }) => typescript34.PropertyAccessExpression;
1478
1478
  propertyAssignment: ({
1479
1479
  initializer,
1480
1480
  name
1481
1481
  }: {
1482
- initializer: typescript0.Expression;
1483
- name: string | typescript0.PropertyName;
1484
- }) => typescript0.PropertyAssignment;
1482
+ initializer: typescript34.Expression;
1483
+ name: string | typescript34.PropertyName;
1484
+ }) => typescript34.PropertyAssignment;
1485
1485
  propertyDeclaration: ({
1486
1486
  initializer,
1487
1487
  modifiers,
1488
1488
  name,
1489
1489
  type
1490
1490
  }: {
1491
- initializer?: typescript0.Expression;
1491
+ initializer?: typescript34.Expression;
1492
1492
  modifiers?: Modifier | ReadonlyArray<Modifier>;
1493
- name: string | typescript0.PropertyName;
1494
- type?: typescript0.TypeNode;
1495
- }) => typescript0.PropertyDeclaration;
1493
+ name: string | typescript34.PropertyName;
1494
+ type?: typescript34.TypeNode;
1495
+ }) => typescript34.PropertyDeclaration;
1496
1496
  regularExpressionLiteral: ({
1497
1497
  flags,
1498
1498
  text
1499
1499
  }: {
1500
1500
  flags?: ReadonlyArray<"g" | "i" | "m" | "s" | "u" | "y">;
1501
1501
  text: string;
1502
- }) => typescript0.RegularExpressionLiteral;
1502
+ }) => typescript34.RegularExpressionLiteral;
1503
1503
  returnFunctionCall: ({
1504
1504
  args,
1505
1505
  name,
1506
1506
  types: types_d_exports
1507
1507
  }: {
1508
1508
  args: any[];
1509
- name: string | typescript0.Expression;
1510
- types?: ReadonlyArray<string | typescript0.StringLiteral>;
1511
- }) => typescript0.ReturnStatement;
1509
+ name: string | typescript34.Expression;
1510
+ types?: ReadonlyArray<string | typescript34.StringLiteral>;
1511
+ }) => typescript34.ReturnStatement;
1512
1512
  returnStatement: ({
1513
1513
  expression
1514
1514
  }: {
1515
- expression?: typescript0.Expression;
1516
- }) => typescript0.ReturnStatement;
1515
+ expression?: typescript34.Expression;
1516
+ }) => typescript34.ReturnStatement;
1517
1517
  returnVariable: ({
1518
1518
  expression
1519
1519
  }: {
1520
- expression: string | typescript0.Expression;
1521
- }) => typescript0.ReturnStatement;
1522
- safeAccessExpression: (path: string[]) => typescript0.Expression;
1520
+ expression: string | typescript34.Expression;
1521
+ }) => typescript34.ReturnStatement;
1522
+ safeAccessExpression: (path: string[]) => typescript34.Expression;
1523
1523
  stringLiteral: ({
1524
1524
  isSingleQuote,
1525
1525
  text
1526
1526
  }: {
1527
1527
  isSingleQuote?: boolean;
1528
1528
  text: string;
1529
- }) => typescript0.StringLiteral;
1529
+ }) => typescript34.StringLiteral;
1530
1530
  templateLiteralType: ({
1531
1531
  value
1532
1532
  }: {
1533
- value: ReadonlyArray<string | typescript0.TypeNode>;
1534
- }) => typescript0.TemplateLiteralTypeNode;
1535
- this: () => typescript0.ThisExpression;
1533
+ value: ReadonlyArray<string | typescript34.TypeNode>;
1534
+ }) => typescript34.TemplateLiteralTypeNode;
1535
+ this: () => typescript34.ThisExpression;
1536
1536
  transformArrayMap: ({
1537
1537
  path,
1538
1538
  transformExpression
1539
1539
  }: {
1540
1540
  path: string[];
1541
- transformExpression: typescript0.Expression;
1542
- }) => typescript0.IfStatement;
1541
+ transformExpression: typescript34.Expression;
1542
+ }) => typescript34.IfStatement;
1543
1543
  transformArrayMutation: ({
1544
1544
  path,
1545
1545
  transformerName
1546
1546
  }: {
1547
1547
  path: string[];
1548
1548
  transformerName: string;
1549
- }) => typescript0.Statement;
1549
+ }) => typescript34.Statement;
1550
1550
  transformDateMutation: ({
1551
1551
  path
1552
1552
  }: {
1553
1553
  path: string[];
1554
- }) => typescript0.Statement;
1554
+ }) => typescript34.Statement;
1555
1555
  transformFunctionMutation: ({
1556
1556
  path,
1557
1557
  transformerName
1558
1558
  }: {
1559
1559
  path: string[];
1560
1560
  transformerName: string;
1561
- }) => typescript0.IfStatement[];
1561
+ }) => typescript34.IfStatement[];
1562
1562
  transformNewDate: ({
1563
1563
  parameterName
1564
1564
  }: {
1565
1565
  parameterName: string;
1566
- }) => typescript0.NewExpression;
1566
+ }) => typescript34.NewExpression;
1567
1567
  typeAliasDeclaration: ({
1568
1568
  comment,
1569
1569
  exportType,
@@ -1573,11 +1573,11 @@ declare const compiler: {
1573
1573
  }: {
1574
1574
  comment?: Comments;
1575
1575
  exportType?: boolean;
1576
- name: string | typescript0.TypeReferenceNode;
1577
- type: string | typescript0.TypeNode | typescript0.Identifier;
1576
+ name: string | typescript34.TypeReferenceNode;
1577
+ type: string | typescript34.TypeNode | typescript34.Identifier;
1578
1578
  typeParameters?: FunctionTypeParameter[];
1579
- }) => typescript0.TypeAliasDeclaration;
1580
- typeArrayNode: (types: ReadonlyArray<any | typescript0.TypeNode> | typescript0.TypeNode | typescript0.Identifier | string, isNullable?: boolean) => typescript0.TypeNode;
1579
+ }) => typescript34.TypeAliasDeclaration;
1580
+ typeArrayNode: (types: ReadonlyArray<any | typescript34.TypeNode> | typescript34.TypeNode | typescript34.Identifier | string, isNullable?: boolean) => typescript34.TypeNode;
1581
1581
  typeInterfaceNode: ({
1582
1582
  indexKey,
1583
1583
  indexProperty,
@@ -1585,70 +1585,70 @@ declare const compiler: {
1585
1585
  properties,
1586
1586
  useLegacyResolution
1587
1587
  }: {
1588
- indexKey?: typescript0.TypeReferenceNode;
1588
+ indexKey?: typescript34.TypeReferenceNode;
1589
1589
  indexProperty?: Property;
1590
1590
  isNullable?: boolean;
1591
1591
  properties: Property[];
1592
1592
  useLegacyResolution: boolean;
1593
- }) => typescript0.TypeNode;
1593
+ }) => typescript34.TypeNode;
1594
1594
  typeIntersectionNode: ({
1595
1595
  isNullable,
1596
1596
  types: types_d_exports
1597
1597
  }: {
1598
1598
  isNullable?: boolean;
1599
- types: (any | typescript0.TypeNode)[];
1600
- }) => typescript0.TypeNode;
1601
- typeNode: (base: any | typescript0.TypeNode, args?: (any | typescript0.TypeNode)[]) => typescript0.TypeNode;
1599
+ types: (any | typescript34.TypeNode)[];
1600
+ }) => typescript34.TypeNode;
1601
+ typeNode: (base: any | typescript34.TypeNode, args?: (any | typescript34.TypeNode)[]) => typescript34.TypeNode;
1602
1602
  typeOfExpression: ({
1603
1603
  text
1604
1604
  }: {
1605
- text: string | typescript0.Identifier;
1606
- }) => typescript0.TypeOfExpression;
1605
+ text: string | typescript34.Identifier;
1606
+ }) => typescript34.TypeOfExpression;
1607
1607
  typeOperatorNode: ({
1608
1608
  operator,
1609
1609
  type
1610
1610
  }: {
1611
1611
  operator: "keyof" | "readonly" | "unique";
1612
- type: typescript0.TypeNode;
1613
- }) => typescript0.TypeOperatorNode;
1612
+ type: typescript34.TypeNode;
1613
+ }) => typescript34.TypeOperatorNode;
1614
1614
  typeParameterDeclaration: ({
1615
1615
  constraint,
1616
1616
  defaultType,
1617
1617
  modifiers,
1618
1618
  name
1619
1619
  }: {
1620
- constraint?: typescript0.TypeNode;
1621
- defaultType?: typescript0.TypeNode;
1622
- modifiers?: Array<typescript0.Modifier>;
1623
- name: string | typescript0.Identifier;
1624
- }) => typescript0.TypeParameterDeclaration;
1620
+ constraint?: typescript34.TypeNode;
1621
+ defaultType?: typescript34.TypeNode;
1622
+ modifiers?: Array<typescript34.Modifier>;
1623
+ name: string | typescript34.Identifier;
1624
+ }) => typescript34.TypeParameterDeclaration;
1625
1625
  typeParenthesizedNode: ({
1626
1626
  type
1627
1627
  }: {
1628
- type: typescript0.TypeNode;
1629
- }) => typescript0.ParenthesizedTypeNode;
1630
- typeRecordNode: (keys: (any | typescript0.TypeNode)[], values: (any | typescript0.TypeNode)[], isNullable?: boolean, useLegacyResolution?: boolean) => typescript0.TypeNode;
1628
+ type: typescript34.TypeNode;
1629
+ }) => typescript34.ParenthesizedTypeNode;
1630
+ typeRecordNode: (keys: (any | typescript34.TypeNode)[], values: (any | typescript34.TypeNode)[], isNullable?: boolean, useLegacyResolution?: boolean) => typescript34.TypeNode;
1631
1631
  typeReferenceNode: ({
1632
1632
  typeArguments,
1633
1633
  typeName
1634
1634
  }: {
1635
- typeArguments?: typescript0.TypeNode[];
1636
- typeName: string | typescript0.EntityName;
1637
- }) => typescript0.TypeReferenceNode;
1635
+ typeArguments?: typescript34.TypeNode[];
1636
+ typeName: string | typescript34.EntityName;
1637
+ }) => typescript34.TypeReferenceNode;
1638
1638
  typeTupleNode: ({
1639
1639
  isNullable,
1640
1640
  types: types_d_exports
1641
1641
  }: {
1642
1642
  isNullable?: boolean;
1643
- types: Array<any | typescript0.TypeNode>;
1644
- }) => typescript0.TypeNode;
1643
+ types: Array<any | typescript34.TypeNode>;
1644
+ }) => typescript34.TypeNode;
1645
1645
  typeUnionNode: ({
1646
1646
  isNullable,
1647
1647
  types: types_d_exports
1648
1648
  }: {
1649
1649
  isNullable?: boolean;
1650
- types: ReadonlyArray<any | typescript0.TypeNode>;
1651
- }) => typescript0.TypeNode;
1650
+ types: ReadonlyArray<any | typescript34.TypeNode>;
1651
+ }) => typescript34.TypeNode;
1652
1652
  valueToExpression: <T = unknown>({
1653
1653
  identifiers,
1654
1654
  isValueAccess,
@@ -1661,7 +1661,7 @@ declare const compiler: {
1661
1661
  shorthand?: boolean;
1662
1662
  unescape?: boolean;
1663
1663
  value: T;
1664
- }) => typescript0.Expression | undefined;
1664
+ }) => typescript34.Expression | undefined;
1665
1665
  };
1666
1666
  //#endregion
1667
1667
  //#region src/utils/exports.d.ts
@@ -1715,5 +1715,5 @@ declare module '@hey-api/codegen-core' {
1715
1715
  */
1716
1716
  declare const defineConfig: <T extends MaybeArray<UserConfig>>(config: LazyOrAsync<T>) => Promise<T>;
1717
1717
  //#endregion
1718
- 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 };
1718
+ 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 };
1719
1719
  //# sourceMappingURL=index.d.ts.map