Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / typescript-estree / dist / ts-estree / estree-to-ts-node-types.d.ts
index df4afd73a0a4455384fb513d0ef843f9645fa422..ceb96b7cc9e6bebab9bd36cac661681dd6dd5abd 100644 (file)
@@ -35,7 +35,6 @@ export interface EstreeToTsNodeTypes {
     [AST_NODE_TYPES.FunctionExpression]: ts.FunctionExpression | ts.ConstructorDeclaration | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration;
     [AST_NODE_TYPES.Identifier]: ts.Identifier | ts.ConstructorDeclaration | ts.Token<ts.SyntaxKind.NewKeyword | ts.SyntaxKind.ImportKeyword>;
     [AST_NODE_TYPES.IfStatement]: ts.IfStatement;
-    [AST_NODE_TYPES.Import]: ts.ImportExpression;
     [AST_NODE_TYPES.ImportDeclaration]: ts.ImportDeclaration;
     [AST_NODE_TYPES.ImportDefaultSpecifier]: ts.ImportClause;
     [AST_NODE_TYPES.ImportExpression]: ts.CallExpression;
@@ -110,6 +109,7 @@ export interface EstreeToTsNodeTypes {
     [AST_NODE_TYPES.TSMethodSignature]: ts.MethodSignature;
     [AST_NODE_TYPES.TSModuleBlock]: ts.ModuleBlock;
     [AST_NODE_TYPES.TSModuleDeclaration]: ts.ModuleDeclaration;
+    [AST_NODE_TYPES.TSNamedTupleMember]: ts.NamedTupleMember;
     [AST_NODE_TYPES.TSNamespaceExportDeclaration]: ts.NamespaceExportDeclaration;
     [AST_NODE_TYPES.TSNonNullExpression]: ts.NonNullExpression;
     [AST_NODE_TYPES.TSOptionalType]: ts.OptionalTypeNode;
@@ -117,7 +117,7 @@ export interface EstreeToTsNodeTypes {
     [AST_NODE_TYPES.TSParenthesizedType]: ts.ParenthesizedTypeNode;
     [AST_NODE_TYPES.TSPropertySignature]: ts.PropertySignature;
     [AST_NODE_TYPES.TSQualifiedName]: ts.QualifiedName;
-    [AST_NODE_TYPES.TSRestType]: ts.RestTypeNode;
+    [AST_NODE_TYPES.TSRestType]: ts.RestTypeNode | ts.NamedTupleMember;
     [AST_NODE_TYPES.TSThisType]: ts.ThisTypeNode;
     [AST_NODE_TYPES.TSTupleType]: ts.TupleTypeNode;
     [AST_NODE_TYPES.TSTypeAliasDeclaration]: ts.TypeAliasDeclaration;