@signpostmarv/ts-assert 0.3.1 → 0.4.1
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/generated/assertions.d.ts +5 -1
- package/generated/assertions.js +8 -0
- package/lib/main.d.ts +262 -259
- package/lib/main.js +1 -1
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessorDeclaration, ArrayBindingElement, ArrayBindingPattern, ArrayLiteralExpression, ArrayTypeNode, ArrowFunction, AsExpression, AssertionExpression, AssertsKeyword, AsteriskToken, AutoAccessorPropertyDeclaration, AwaitExpression, AwaitKeyword, BigIntLiteral, BinaryExpression, BinaryOperatorToken, BindingElement, BindingName, BindingPattern, Block, BreakOrContinueStatement, BreakStatement, Bundle, CallChain, CallExpression, CallLikeExpression, CallSignatureDeclaration, CaseBlock, CaseClause, CaseOrDefaultClause, CatchClause, ClassDeclaration, ClassElement, ClassExpression, ClassLikeDeclaration, ClassStaticBlockDeclaration, ColonToken, CommaListExpression, ComputedPropertyName, ConciseBody, ConditionalExpression, ConditionalTypeNode, ConstructorDeclaration, ConstructorTypeNode, ConstructSignatureDeclaration, ContinueStatement, DebuggerStatement, DeclarationStatement, Decorator, DefaultClause, DeleteExpression, DoStatement, DotDotDotToken, ElementAccessChain, ElementAccessExpression, EmptyStatement, EntityName, EnumDeclaration, EnumMember, EqualsGreaterThanToken, ExclamationToken, ExportAssignment, ExportDeclaration, ExportSpecifier, Expression, ExpressionStatement, ExpressionWithTypeArguments, ExternalModuleReference, ForInitializer, ForInStatement, ForOfStatement, ForStatement, FunctionDeclaration, FunctionExpression, FunctionTypeNode, GetAccessorDeclaration, HeritageClause, Identifier, IfStatement, ImportAttribute, ImportAttributeName, ImportAttributes, ImportClause, ImportDeclaration, ImportEqualsDeclaration, ImportSpecifier, ImportTypeNode, IndexedAccessTypeNode, IndexSignatureDeclaration, InferTypeNode, InterfaceDeclaration, IntersectionTypeNode, JSDoc, JSDocAllType, JSDocAugmentsTag, JSDocAuthorTag, JSDocCallbackTag, JSDocClassTag, JSDocDeprecatedTag, JSDocEnumTag, JSDocFunctionType, JSDocImplementsTag, JSDocImportTag, JSDocLink, JSDocLinkCode, JSDocLinkPlain, JSDocMemberName, JSDocNamepathType, JSDocNameReference, JSDocNonNullableType, JSDocNullableType, JSDocOptionalType, JSDocOverloadTag, JSDocOverrideTag, JSDocParameterTag, JSDocPrivateTag, JSDocPropertyLikeTag, JSDocPropertyTag, JSDocProtectedTag, JSDocPublicTag, JSDocReadonlyTag, JSDocReturnTag, JSDocSatisfiesTag, JSDocSeeTag, JSDocSignature, JSDocTemplateTag, JSDocThisTag, JSDocThrowsTag, JSDocTypedefTag, JSDocTypeExpression, JSDocTypeLiteral, JSDocTypeTag, JSDocUnknownTag, JSDocUnknownType, JSDocVariadicType, JsxAttribute, JsxAttributeLike, JsxAttributes, JsxChild, JsxClosingElement, JsxClosingFragment, JsxElement, JsxExpression, JsxFragment, JsxNamespacedName, JsxOpeningElement, JsxOpeningFragment, JsxOpeningLikeElement, JsxSelfClosingElement, JsxSpreadAttribute, JsxTagNameExpression, JsxText, LabeledStatement, LeftHandSideExpression, LiteralExpression, LiteralTypeNode, MappedTypeNode, MemberName, MetaProperty, MethodDeclaration, MethodSignature, MinusToken, MissingDeclaration, Modifier, ModifierLike, ModuleBlock, ModuleBody, ModuleDeclaration, ModuleName, ModuleReference, NamedExportBindings, NamedExports, NamedImportBindings, NamedImports, NamedTupleMember, NamespaceExport, NamespaceExportDeclaration, NamespaceImport, NewExpression, Node, NonNullChain, NonNullExpression, NoSubstitutionTemplateLiteral, NotEmittedStatement, NumericLiteral, ObjectBindingPattern, ObjectLiteralElement, ObjectLiteralElementLike, ObjectLiteralExpression, OmittedExpression, OptionalTypeNode, ParameterDeclaration, ParenthesizedExpression, ParenthesizedTypeNode, PartiallyEmittedExpression, PlusToken, PostfixUnaryExpression, PrefixUnaryExpression, PrivateIdentifier, PropertyAccessChain, PropertyAccessExpression, PropertyAssignment, PropertyDeclaration, PropertyName, PropertySignature, QualifiedName, QuestionDotToken, QuestionToken, RegularExpressionLiteral, RestTypeNode, ReturnStatement, SatisfiesExpression, SemicolonClassElement, SetAccessorDeclaration, ShorthandPropertyAssignment, SourceFile, SpreadAssignment, SpreadElement, Statement, StringLiteral, SwitchStatement, SyntheticExpression, TaggedTemplateExpression, TemplateExpression, TemplateHead, TemplateLiteral, TemplateLiteralToken, TemplateLiteralTypeNode, TemplateLiteralTypeSpan, TemplateMiddle, TemplateSpan, TemplateTail, ThisTypeNode, ThrowStatement, TryStatement, TupleTypeNode, TypeAliasDeclaration, TypeAssertion, TypeElement, TypeLiteralNode, TypeNode, TypeOfExpression, TypeOnlyAliasDeclaration, TypeOnlyExportDeclaration, TypeOnlyImportDeclaration, TypeOperatorNode, TypeParameterDeclaration, TypePredicateNode, TypeQueryNode, TypeReferenceNode, UnionTypeNode, VariableDeclaration, VariableDeclarationList, VariableStatement, VoidExpression, WhileStatement, WithStatement, YieldExpression } from "typescript";
|
|
1
|
+
import type { AccessorDeclaration, ArrayBindingElement, ArrayBindingPattern, ArrayLiteralExpression, ArrayTypeNode, ArrowFunction, AsExpression, AssertionExpression, AssertsKeyword, AsteriskToken, AutoAccessorPropertyDeclaration, AwaitExpression, AwaitKeyword, BigIntLiteral, BinaryExpression, BinaryOperatorToken, BindingElement, BindingName, BindingPattern, Block, BreakOrContinueStatement, BreakStatement, Bundle, CallChain, CallExpression, CallLikeExpression, CallSignatureDeclaration, CaseBlock, CaseClause, CaseOrDefaultClause, CatchClause, ClassDeclaration, ClassElement, ClassExpression, ClassLikeDeclaration, ClassStaticBlockDeclaration, ColonToken, CommaListExpression, ComputedPropertyName, ConciseBody, ConditionalExpression, ConditionalTypeNode, ConstructorDeclaration, ConstructorTypeNode, ConstructSignatureDeclaration, ContinueStatement, DebuggerStatement, DeclarationStatement, Decorator, DefaultClause, DeleteExpression, DoStatement, DotDotDotToken, ElementAccessChain, ElementAccessExpression, EmptyStatement, EntityName, EnumDeclaration, EnumMember, EqualsGreaterThanToken, ExclamationToken, ExportAssignment, ExportDeclaration, ExportSpecifier, Expression, ExpressionStatement, ExpressionWithTypeArguments, ExternalModuleReference, ForInitializer, ForInStatement, ForOfStatement, ForStatement, FunctionDeclaration, FunctionExpression, FunctionTypeNode, GetAccessorDeclaration, HeritageClause, Identifier, IfStatement, ImportAttribute, ImportAttributeName, ImportAttributes, ImportClause, ImportDeclaration, ImportEqualsDeclaration, ImportSpecifier, ImportTypeNode, IndexedAccessTypeNode, IndexSignatureDeclaration, InferTypeNode, InterfaceDeclaration, IntersectionTypeNode, JSDoc, JSDocAllType, JSDocAugmentsTag, JSDocAuthorTag, JSDocCallbackTag, JSDocClassTag, JSDocDeprecatedTag, JSDocEnumTag, JSDocFunctionType, JSDocImplementsTag, JSDocImportTag, JSDocLink, JSDocLinkCode, JSDocLinkPlain, JSDocMemberName, JSDocNamepathType, JSDocNameReference, JSDocNonNullableType, JSDocNullableType, JSDocOptionalType, JSDocOverloadTag, JSDocOverrideTag, JSDocParameterTag, JSDocPrivateTag, JSDocPropertyLikeTag, JSDocPropertyTag, JSDocProtectedTag, JSDocPublicTag, JSDocReadonlyTag, JSDocReturnTag, JSDocSatisfiesTag, JSDocSeeTag, JSDocSignature, JSDocTemplateTag, JSDocThisTag, JSDocThrowsTag, JSDocTypedefTag, JSDocTypeExpression, JSDocTypeLiteral, JSDocTypeTag, JSDocUnknownTag, JSDocUnknownType, JSDocVariadicType, JsxAttribute, JsxAttributeLike, JsxAttributes, JsxCallLike, JsxChild, JsxClosingElement, JsxClosingFragment, JsxElement, JsxExpression, JsxFragment, JsxNamespacedName, JsxOpeningElement, JsxOpeningFragment, JsxOpeningLikeElement, JsxSelfClosingElement, JsxSpreadAttribute, JsxTagNameExpression, JsxText, LabeledStatement, LeftHandSideExpression, LiteralExpression, LiteralTypeNode, MappedTypeNode, MemberName, MetaProperty, MethodDeclaration, MethodSignature, MinusToken, MissingDeclaration, Modifier, ModifierLike, ModuleBlock, ModuleBody, ModuleDeclaration, ModuleExportName, ModuleName, ModuleReference, NamedExportBindings, NamedExports, NamedImportBindings, NamedImports, NamedTupleMember, NamespaceExport, NamespaceExportDeclaration, NamespaceImport, NewExpression, Node, NonNullChain, NonNullExpression, NoSubstitutionTemplateLiteral, NotEmittedStatement, NumericLiteral, ObjectBindingPattern, ObjectLiteralElement, ObjectLiteralElementLike, ObjectLiteralExpression, OmittedExpression, OptionalTypeNode, ParameterDeclaration, ParenthesizedExpression, ParenthesizedTypeNode, PartiallyEmittedExpression, PlusToken, PostfixUnaryExpression, PrefixUnaryExpression, PrivateIdentifier, PropertyAccessChain, PropertyAccessExpression, PropertyAssignment, PropertyDeclaration, PropertyName, PropertySignature, QualifiedName, QuestionDotToken, QuestionToken, RegularExpressionLiteral, RestTypeNode, ReturnStatement, SatisfiesExpression, SemicolonClassElement, SetAccessorDeclaration, ShorthandPropertyAssignment, SourceFile, SpreadAssignment, SpreadElement, Statement, StringLiteral, SwitchStatement, SyntheticExpression, TaggedTemplateExpression, TemplateExpression, TemplateHead, TemplateLiteral, TemplateLiteralToken, TemplateLiteralTypeNode, TemplateLiteralTypeSpan, TemplateMiddle, TemplateSpan, TemplateTail, ThisTypeNode, ThrowStatement, TryStatement, TupleTypeNode, TypeAliasDeclaration, TypeAssertion, TypeElement, TypeLiteralNode, TypeNode, TypeOfExpression, TypeOnlyAliasDeclaration, TypeOnlyExportDeclaration, TypeOnlyImportDeclaration, TypeOperatorNode, TypeParameterDeclaration, TypePredicateNode, TypeQueryNode, TypeReferenceNode, UnionTypeNode, VariableDeclaration, VariableDeclarationList, VariableStatement, VoidExpression, WhileStatement, WithStatement, YieldExpression } from "typescript";
|
|
2
2
|
export declare function isAccessor(node: Node, message?: string | Error): asserts node is AccessorDeclaration;
|
|
3
3
|
export declare function isArrayBindingElement(node: Node, message?: string | Error): asserts node is ArrayBindingElement;
|
|
4
4
|
export declare function isArrayBindingPattern(node: Node, message?: string | Error): asserts node is ArrayBindingPattern;
|
|
@@ -138,6 +138,7 @@ export declare function isJSDocVariadicType(node: Node, message?: string | Error
|
|
|
138
138
|
export declare function isJsxAttribute(node: Node, message?: string | Error): asserts node is JsxAttribute;
|
|
139
139
|
export declare function isJsxAttributeLike(node: Node, message?: string | Error): asserts node is JsxAttributeLike;
|
|
140
140
|
export declare function isJsxAttributes(node: Node, message?: string | Error): asserts node is JsxAttributes;
|
|
141
|
+
export declare function isJsxCallLike(node: Node, message?: string | Error): asserts node is JsxCallLike;
|
|
141
142
|
export declare function isJsxChild(node: Node, message?: string | Error): asserts node is JsxChild;
|
|
142
143
|
export declare function isJsxClosingElement(node: Node, message?: string | Error): asserts node is JsxClosingElement;
|
|
143
144
|
export declare function isJsxClosingFragment(node: Node, message?: string | Error): asserts node is JsxClosingFragment;
|
|
@@ -168,6 +169,7 @@ export declare function isModifierLike(node: Node, message?: string | Error): as
|
|
|
168
169
|
export declare function isModuleBlock(node: Node, message?: string | Error): asserts node is ModuleBlock;
|
|
169
170
|
export declare function isModuleBody(node: Node, message?: string | Error): asserts node is ModuleBody;
|
|
170
171
|
export declare function isModuleDeclaration(node: Node, message?: string | Error): asserts node is ModuleDeclaration;
|
|
172
|
+
export declare function isModuleExportName(node: Node, message?: string | Error): asserts node is ModuleExportName;
|
|
171
173
|
export declare function isModuleName(node: Node, message?: string | Error): asserts node is ModuleName;
|
|
172
174
|
export declare function isModuleReference(node: Node, message?: string | Error): asserts node is ModuleReference;
|
|
173
175
|
export declare function isNamedExportBindings(node: Node, message?: string | Error): asserts node is NamedExportBindings;
|
|
@@ -398,6 +400,7 @@ declare const _default: {
|
|
|
398
400
|
isJsxAttribute: typeof isJsxAttribute;
|
|
399
401
|
isJsxAttributeLike: typeof isJsxAttributeLike;
|
|
400
402
|
isJsxAttributes: typeof isJsxAttributes;
|
|
403
|
+
isJsxCallLike: typeof isJsxCallLike;
|
|
401
404
|
isJsxChild: typeof isJsxChild;
|
|
402
405
|
isJsxClosingElement: typeof isJsxClosingElement;
|
|
403
406
|
isJsxClosingFragment: typeof isJsxClosingFragment;
|
|
@@ -428,6 +431,7 @@ declare const _default: {
|
|
|
428
431
|
isModuleBlock: typeof isModuleBlock;
|
|
429
432
|
isModuleBody: typeof isModuleBody;
|
|
430
433
|
isModuleDeclaration: typeof isModuleDeclaration;
|
|
434
|
+
isModuleExportName: typeof isModuleExportName;
|
|
431
435
|
isModuleName: typeof isModuleName;
|
|
432
436
|
isModuleReference: typeof isModuleReference;
|
|
433
437
|
isNamedExportBindings: typeof isNamedExportBindings;
|
package/generated/assertions.js
CHANGED
|
@@ -417,6 +417,9 @@ export function isJsxAttributeLike(node, message = `expected JsxAttributeLike, r
|
|
|
417
417
|
export function isJsxAttributes(node, message = `expected JsxAttributes, received ${ts.SyntaxKind[node.kind]}`) {
|
|
418
418
|
assert.equal(ts.isJsxAttributes(node), true, message);
|
|
419
419
|
}
|
|
420
|
+
export function isJsxCallLike(node, message = `expected JsxCallLike, received ${ts.SyntaxKind[node.kind]}`) {
|
|
421
|
+
assert.equal(ts.isJsxCallLike(node), true, message);
|
|
422
|
+
}
|
|
420
423
|
export function isJsxChild(node, message = `expected JsxChild, received ${ts.SyntaxKind[node.kind]}`) {
|
|
421
424
|
assert.equal(ts.isJsxChild(node), true, message);
|
|
422
425
|
}
|
|
@@ -507,6 +510,9 @@ export function isModuleBody(node, message = `expected ModuleBody, received ${ts
|
|
|
507
510
|
export function isModuleDeclaration(node, message = `expected ModuleDeclaration, received ${ts.SyntaxKind[node.kind]}`) {
|
|
508
511
|
assert.equal(ts.isModuleDeclaration(node), true, message);
|
|
509
512
|
}
|
|
513
|
+
export function isModuleExportName(node, message = `expected ModuleExportName, received ${ts.SyntaxKind[node.kind]}`) {
|
|
514
|
+
assert.equal(ts.isModuleExportName(node), true, message);
|
|
515
|
+
}
|
|
510
516
|
export function isModuleName(node, message = `expected ModuleName, received ${ts.SyntaxKind[node.kind]}`) {
|
|
511
517
|
assert.equal(ts.isModuleName(node), true, message);
|
|
512
518
|
}
|
|
@@ -917,6 +923,7 @@ export default {
|
|
|
917
923
|
isJsxAttribute,
|
|
918
924
|
isJsxAttributeLike,
|
|
919
925
|
isJsxAttributes,
|
|
926
|
+
isJsxCallLike,
|
|
920
927
|
isJsxChild,
|
|
921
928
|
isJsxClosingElement,
|
|
922
929
|
isJsxClosingFragment,
|
|
@@ -947,6 +954,7 @@ export default {
|
|
|
947
954
|
isModuleBlock,
|
|
948
955
|
isModuleBody,
|
|
949
956
|
isModuleDeclaration,
|
|
957
|
+
isModuleExportName,
|
|
950
958
|
isModuleName,
|
|
951
959
|
isModuleReference,
|
|
952
960
|
isNamedExportBindings,
|
package/lib/main.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { isExpression, isIdentifier } from '../generated/assertions';
|
|
2
|
-
import
|
|
1
|
+
import { isExpression, isIdentifier } from '../generated/assertions.js';
|
|
2
|
+
import type { FalseLiteral, Identifier, Node, TrueLiteral, TypeNode } from 'typescript';
|
|
3
|
+
import ts from 'typescript';
|
|
3
4
|
export declare function isBooleanLiteral(node: Node, type: boolean, message?: string | Error): asserts node is typeof type extends true ? TrueLiteral : FalseLiteral;
|
|
4
5
|
export declare function isTokenWithExpectedKind(maybe: Node, expected_kind: ts.SyntaxKind, message?: string | Error): asserts maybe is TypeNode & {
|
|
5
6
|
kind: typeof expected_kind;
|
|
@@ -15,264 +16,266 @@ declare const _default: {
|
|
|
15
16
|
isTokenWithExpectedKind: typeof isTokenWithExpectedKind;
|
|
16
17
|
isExpectedIdentifier: typeof isExpectedIdentifier;
|
|
17
18
|
isUndefined: typeof isUndefined;
|
|
18
|
-
isAccessor: typeof import("../generated/assertions").isAccessor;
|
|
19
|
-
isArrayBindingElement: typeof import("../generated/assertions").isArrayBindingElement;
|
|
20
|
-
isArrayBindingPattern: typeof import("../generated/assertions").isArrayBindingPattern;
|
|
21
|
-
isArrayLiteralExpression: typeof import("../generated/assertions").isArrayLiteralExpression;
|
|
22
|
-
isArrayTypeNode: typeof import("../generated/assertions").isArrayTypeNode;
|
|
23
|
-
isArrowFunction: typeof import("../generated/assertions").isArrowFunction;
|
|
24
|
-
isAsExpression: typeof import("../generated/assertions").isAsExpression;
|
|
25
|
-
isAssertionExpression: typeof import("../generated/assertions").isAssertionExpression;
|
|
26
|
-
isAssertsKeyword: typeof import("../generated/assertions").isAssertsKeyword;
|
|
27
|
-
isAsteriskToken: typeof import("../generated/assertions").isAsteriskToken;
|
|
28
|
-
isAutoAccessorPropertyDeclaration: typeof import("../generated/assertions").isAutoAccessorPropertyDeclaration;
|
|
29
|
-
isAwaitExpression: typeof import("../generated/assertions").isAwaitExpression;
|
|
30
|
-
isAwaitKeyword: typeof import("../generated/assertions").isAwaitKeyword;
|
|
31
|
-
isBigIntLiteral: typeof import("../generated/assertions").isBigIntLiteral;
|
|
32
|
-
isBinaryExpression: typeof import("../generated/assertions").isBinaryExpression;
|
|
33
|
-
isBinaryOperatorToken: typeof import("../generated/assertions").isBinaryOperatorToken;
|
|
34
|
-
isBindingElement: typeof import("../generated/assertions").isBindingElement;
|
|
35
|
-
isBindingName: typeof import("../generated/assertions").isBindingName;
|
|
36
|
-
isBlock: typeof import("../generated/assertions").isBlock;
|
|
37
|
-
isBreakOrContinueStatement: typeof import("../generated/assertions").isBreakOrContinueStatement;
|
|
38
|
-
isBreakStatement: typeof import("../generated/assertions").isBreakStatement;
|
|
39
|
-
isBundle: typeof import("../generated/assertions").isBundle;
|
|
40
|
-
isCallChain: typeof import("../generated/assertions").isCallChain;
|
|
41
|
-
isCallExpression: typeof import("../generated/assertions").isCallExpression;
|
|
42
|
-
isCallLikeExpression: typeof import("../generated/assertions").isCallLikeExpression;
|
|
43
|
-
isCallSignatureDeclaration: typeof import("../generated/assertions").isCallSignatureDeclaration;
|
|
44
|
-
isCaseBlock: typeof import("../generated/assertions").isCaseBlock;
|
|
45
|
-
isCaseClause: typeof import("../generated/assertions").isCaseClause;
|
|
46
|
-
isCaseOrDefaultClause: typeof import("../generated/assertions").isCaseOrDefaultClause;
|
|
47
|
-
isCatchClause: typeof import("../generated/assertions").isCatchClause;
|
|
48
|
-
isClassDeclaration: typeof import("../generated/assertions").isClassDeclaration;
|
|
49
|
-
isClassElement: typeof import("../generated/assertions").isClassElement;
|
|
50
|
-
isClassExpression: typeof import("../generated/assertions").isClassExpression;
|
|
51
|
-
isClassLike: typeof import("../generated/assertions").isClassLike;
|
|
52
|
-
isClassStaticBlockDeclaration: typeof import("../generated/assertions").isClassStaticBlockDeclaration;
|
|
53
|
-
isColonToken: typeof import("../generated/assertions").isColonToken;
|
|
54
|
-
isCommaListExpression: typeof import("../generated/assertions").isCommaListExpression;
|
|
55
|
-
isComputedPropertyName: typeof import("../generated/assertions").isComputedPropertyName;
|
|
56
|
-
isConciseBody: typeof import("../generated/assertions").isConciseBody;
|
|
57
|
-
isConditionalExpression: typeof import("../generated/assertions").isConditionalExpression;
|
|
58
|
-
isConditionalTypeNode: typeof import("../generated/assertions").isConditionalTypeNode;
|
|
59
|
-
isConstructorDeclaration: typeof import("../generated/assertions").isConstructorDeclaration;
|
|
60
|
-
isConstructorTypeNode: typeof import("../generated/assertions").isConstructorTypeNode;
|
|
61
|
-
isConstructSignatureDeclaration: typeof import("../generated/assertions").isConstructSignatureDeclaration;
|
|
62
|
-
isContinueStatement: typeof import("../generated/assertions").isContinueStatement;
|
|
63
|
-
isDebuggerStatement: typeof import("../generated/assertions").isDebuggerStatement;
|
|
64
|
-
isDeclarationStatement: typeof import("../generated/assertions").isDeclarationStatement;
|
|
65
|
-
isDecorator: typeof import("../generated/assertions").isDecorator;
|
|
66
|
-
isDefaultClause: typeof import("../generated/assertions").isDefaultClause;
|
|
67
|
-
isDeleteExpression: typeof import("../generated/assertions").isDeleteExpression;
|
|
68
|
-
isDoStatement: typeof import("../generated/assertions").isDoStatement;
|
|
69
|
-
isDotDotDotToken: typeof import("../generated/assertions").isDotDotDotToken;
|
|
70
|
-
isElementAccessChain: typeof import("../generated/assertions").isElementAccessChain;
|
|
71
|
-
isElementAccessExpression: typeof import("../generated/assertions").isElementAccessExpression;
|
|
72
|
-
isEmptyBindingPattern: typeof import("../generated/assertions").isEmptyBindingPattern;
|
|
73
|
-
isEmptyStatement: typeof import("../generated/assertions").isEmptyStatement;
|
|
74
|
-
isEntityName: typeof import("../generated/assertions").isEntityName;
|
|
75
|
-
isEnumDeclaration: typeof import("../generated/assertions").isEnumDeclaration;
|
|
76
|
-
isEnumMember: typeof import("../generated/assertions").isEnumMember;
|
|
77
|
-
isEqualsGreaterThanToken: typeof import("../generated/assertions").isEqualsGreaterThanToken;
|
|
78
|
-
isExclamationToken: typeof import("../generated/assertions").isExclamationToken;
|
|
79
|
-
isExportAssignment: typeof import("../generated/assertions").isExportAssignment;
|
|
80
|
-
isExportDeclaration: typeof import("../generated/assertions").isExportDeclaration;
|
|
81
|
-
isExportSpecifier: typeof import("../generated/assertions").isExportSpecifier;
|
|
19
|
+
isAccessor: typeof import("../generated/assertions.js").isAccessor;
|
|
20
|
+
isArrayBindingElement: typeof import("../generated/assertions.js").isArrayBindingElement;
|
|
21
|
+
isArrayBindingPattern: typeof import("../generated/assertions.js").isArrayBindingPattern;
|
|
22
|
+
isArrayLiteralExpression: typeof import("../generated/assertions.js").isArrayLiteralExpression;
|
|
23
|
+
isArrayTypeNode: typeof import("../generated/assertions.js").isArrayTypeNode;
|
|
24
|
+
isArrowFunction: typeof import("../generated/assertions.js").isArrowFunction;
|
|
25
|
+
isAsExpression: typeof import("../generated/assertions.js").isAsExpression;
|
|
26
|
+
isAssertionExpression: typeof import("../generated/assertions.js").isAssertionExpression;
|
|
27
|
+
isAssertsKeyword: typeof import("../generated/assertions.js").isAssertsKeyword;
|
|
28
|
+
isAsteriskToken: typeof import("../generated/assertions.js").isAsteriskToken;
|
|
29
|
+
isAutoAccessorPropertyDeclaration: typeof import("../generated/assertions.js").isAutoAccessorPropertyDeclaration;
|
|
30
|
+
isAwaitExpression: typeof import("../generated/assertions.js").isAwaitExpression;
|
|
31
|
+
isAwaitKeyword: typeof import("../generated/assertions.js").isAwaitKeyword;
|
|
32
|
+
isBigIntLiteral: typeof import("../generated/assertions.js").isBigIntLiteral;
|
|
33
|
+
isBinaryExpression: typeof import("../generated/assertions.js").isBinaryExpression;
|
|
34
|
+
isBinaryOperatorToken: typeof import("../generated/assertions.js").isBinaryOperatorToken;
|
|
35
|
+
isBindingElement: typeof import("../generated/assertions.js").isBindingElement;
|
|
36
|
+
isBindingName: typeof import("../generated/assertions.js").isBindingName;
|
|
37
|
+
isBlock: typeof import("../generated/assertions.js").isBlock;
|
|
38
|
+
isBreakOrContinueStatement: typeof import("../generated/assertions.js").isBreakOrContinueStatement;
|
|
39
|
+
isBreakStatement: typeof import("../generated/assertions.js").isBreakStatement;
|
|
40
|
+
isBundle: typeof import("../generated/assertions.js").isBundle;
|
|
41
|
+
isCallChain: typeof import("../generated/assertions.js").isCallChain;
|
|
42
|
+
isCallExpression: typeof import("../generated/assertions.js").isCallExpression;
|
|
43
|
+
isCallLikeExpression: typeof import("../generated/assertions.js").isCallLikeExpression;
|
|
44
|
+
isCallSignatureDeclaration: typeof import("../generated/assertions.js").isCallSignatureDeclaration;
|
|
45
|
+
isCaseBlock: typeof import("../generated/assertions.js").isCaseBlock;
|
|
46
|
+
isCaseClause: typeof import("../generated/assertions.js").isCaseClause;
|
|
47
|
+
isCaseOrDefaultClause: typeof import("../generated/assertions.js").isCaseOrDefaultClause;
|
|
48
|
+
isCatchClause: typeof import("../generated/assertions.js").isCatchClause;
|
|
49
|
+
isClassDeclaration: typeof import("../generated/assertions.js").isClassDeclaration;
|
|
50
|
+
isClassElement: typeof import("../generated/assertions.js").isClassElement;
|
|
51
|
+
isClassExpression: typeof import("../generated/assertions.js").isClassExpression;
|
|
52
|
+
isClassLike: typeof import("../generated/assertions.js").isClassLike;
|
|
53
|
+
isClassStaticBlockDeclaration: typeof import("../generated/assertions.js").isClassStaticBlockDeclaration;
|
|
54
|
+
isColonToken: typeof import("../generated/assertions.js").isColonToken;
|
|
55
|
+
isCommaListExpression: typeof import("../generated/assertions.js").isCommaListExpression;
|
|
56
|
+
isComputedPropertyName: typeof import("../generated/assertions.js").isComputedPropertyName;
|
|
57
|
+
isConciseBody: typeof import("../generated/assertions.js").isConciseBody;
|
|
58
|
+
isConditionalExpression: typeof import("../generated/assertions.js").isConditionalExpression;
|
|
59
|
+
isConditionalTypeNode: typeof import("../generated/assertions.js").isConditionalTypeNode;
|
|
60
|
+
isConstructorDeclaration: typeof import("../generated/assertions.js").isConstructorDeclaration;
|
|
61
|
+
isConstructorTypeNode: typeof import("../generated/assertions.js").isConstructorTypeNode;
|
|
62
|
+
isConstructSignatureDeclaration: typeof import("../generated/assertions.js").isConstructSignatureDeclaration;
|
|
63
|
+
isContinueStatement: typeof import("../generated/assertions.js").isContinueStatement;
|
|
64
|
+
isDebuggerStatement: typeof import("../generated/assertions.js").isDebuggerStatement;
|
|
65
|
+
isDeclarationStatement: typeof import("../generated/assertions.js").isDeclarationStatement;
|
|
66
|
+
isDecorator: typeof import("../generated/assertions.js").isDecorator;
|
|
67
|
+
isDefaultClause: typeof import("../generated/assertions.js").isDefaultClause;
|
|
68
|
+
isDeleteExpression: typeof import("../generated/assertions.js").isDeleteExpression;
|
|
69
|
+
isDoStatement: typeof import("../generated/assertions.js").isDoStatement;
|
|
70
|
+
isDotDotDotToken: typeof import("../generated/assertions.js").isDotDotDotToken;
|
|
71
|
+
isElementAccessChain: typeof import("../generated/assertions.js").isElementAccessChain;
|
|
72
|
+
isElementAccessExpression: typeof import("../generated/assertions.js").isElementAccessExpression;
|
|
73
|
+
isEmptyBindingPattern: typeof import("../generated/assertions.js").isEmptyBindingPattern;
|
|
74
|
+
isEmptyStatement: typeof import("../generated/assertions.js").isEmptyStatement;
|
|
75
|
+
isEntityName: typeof import("../generated/assertions.js").isEntityName;
|
|
76
|
+
isEnumDeclaration: typeof import("../generated/assertions.js").isEnumDeclaration;
|
|
77
|
+
isEnumMember: typeof import("../generated/assertions.js").isEnumMember;
|
|
78
|
+
isEqualsGreaterThanToken: typeof import("../generated/assertions.js").isEqualsGreaterThanToken;
|
|
79
|
+
isExclamationToken: typeof import("../generated/assertions.js").isExclamationToken;
|
|
80
|
+
isExportAssignment: typeof import("../generated/assertions.js").isExportAssignment;
|
|
81
|
+
isExportDeclaration: typeof import("../generated/assertions.js").isExportDeclaration;
|
|
82
|
+
isExportSpecifier: typeof import("../generated/assertions.js").isExportSpecifier;
|
|
82
83
|
isExpression: typeof isExpression;
|
|
83
|
-
isExpressionStatement: typeof import("../generated/assertions").isExpressionStatement;
|
|
84
|
-
isExpressionWithTypeArguments: typeof import("../generated/assertions").isExpressionWithTypeArguments;
|
|
85
|
-
isExternalModuleReference: typeof import("../generated/assertions").isExternalModuleReference;
|
|
86
|
-
isForInitializer: typeof import("../generated/assertions").isForInitializer;
|
|
87
|
-
isForInStatement: typeof import("../generated/assertions").isForInStatement;
|
|
88
|
-
isForOfStatement: typeof import("../generated/assertions").isForOfStatement;
|
|
89
|
-
isForStatement: typeof import("../generated/assertions").isForStatement;
|
|
90
|
-
isFunctionDeclaration: typeof import("../generated/assertions").isFunctionDeclaration;
|
|
91
|
-
isFunctionExpression: typeof import("../generated/assertions").isFunctionExpression;
|
|
92
|
-
isFunctionTypeNode: typeof import("../generated/assertions").isFunctionTypeNode;
|
|
93
|
-
isGetAccessor: typeof import("../generated/assertions").isGetAccessor;
|
|
94
|
-
isGetAccessorDeclaration: typeof import("../generated/assertions").isGetAccessorDeclaration;
|
|
95
|
-
isHeritageClause: typeof import("../generated/assertions").isHeritageClause;
|
|
84
|
+
isExpressionStatement: typeof import("../generated/assertions.js").isExpressionStatement;
|
|
85
|
+
isExpressionWithTypeArguments: typeof import("../generated/assertions.js").isExpressionWithTypeArguments;
|
|
86
|
+
isExternalModuleReference: typeof import("../generated/assertions.js").isExternalModuleReference;
|
|
87
|
+
isForInitializer: typeof import("../generated/assertions.js").isForInitializer;
|
|
88
|
+
isForInStatement: typeof import("../generated/assertions.js").isForInStatement;
|
|
89
|
+
isForOfStatement: typeof import("../generated/assertions.js").isForOfStatement;
|
|
90
|
+
isForStatement: typeof import("../generated/assertions.js").isForStatement;
|
|
91
|
+
isFunctionDeclaration: typeof import("../generated/assertions.js").isFunctionDeclaration;
|
|
92
|
+
isFunctionExpression: typeof import("../generated/assertions.js").isFunctionExpression;
|
|
93
|
+
isFunctionTypeNode: typeof import("../generated/assertions.js").isFunctionTypeNode;
|
|
94
|
+
isGetAccessor: typeof import("../generated/assertions.js").isGetAccessor;
|
|
95
|
+
isGetAccessorDeclaration: typeof import("../generated/assertions.js").isGetAccessorDeclaration;
|
|
96
|
+
isHeritageClause: typeof import("../generated/assertions.js").isHeritageClause;
|
|
96
97
|
isIdentifier: typeof isIdentifier;
|
|
97
|
-
isIfStatement: typeof import("../generated/assertions").isIfStatement;
|
|
98
|
-
isImportAttribute: typeof import("../generated/assertions").isImportAttribute;
|
|
99
|
-
isImportAttributeName: typeof import("../generated/assertions").isImportAttributeName;
|
|
100
|
-
isImportAttributes: typeof import("../generated/assertions").isImportAttributes;
|
|
101
|
-
isImportClause: typeof import("../generated/assertions").isImportClause;
|
|
102
|
-
isImportDeclaration: typeof import("../generated/assertions").isImportDeclaration;
|
|
103
|
-
isImportEqualsDeclaration: typeof import("../generated/assertions").isImportEqualsDeclaration;
|
|
104
|
-
isImportSpecifier: typeof import("../generated/assertions").isImportSpecifier;
|
|
105
|
-
isImportTypeNode: typeof import("../generated/assertions").isImportTypeNode;
|
|
106
|
-
isIndexedAccessTypeNode: typeof import("../generated/assertions").isIndexedAccessTypeNode;
|
|
107
|
-
isIndexSignatureDeclaration: typeof import("../generated/assertions").isIndexSignatureDeclaration;
|
|
108
|
-
isInferTypeNode: typeof import("../generated/assertions").isInferTypeNode;
|
|
109
|
-
isInterfaceDeclaration: typeof import("../generated/assertions").isInterfaceDeclaration;
|
|
110
|
-
isIntersectionTypeNode: typeof import("../generated/assertions").isIntersectionTypeNode;
|
|
111
|
-
isJSDoc: typeof import("../generated/assertions").isJSDoc;
|
|
112
|
-
isJSDocAllType: typeof import("../generated/assertions").isJSDocAllType;
|
|
113
|
-
isJSDocAugmentsTag: typeof import("../generated/assertions").isJSDocAugmentsTag;
|
|
114
|
-
isJSDocAuthorTag: typeof import("../generated/assertions").isJSDocAuthorTag;
|
|
115
|
-
isJSDocCallbackTag: typeof import("../generated/assertions").isJSDocCallbackTag;
|
|
116
|
-
isJSDocClassTag: typeof import("../generated/assertions").isJSDocClassTag;
|
|
117
|
-
isJSDocDeprecatedTag: typeof import("../generated/assertions").isJSDocDeprecatedTag;
|
|
118
|
-
isJSDocEnumTag: typeof import("../generated/assertions").isJSDocEnumTag;
|
|
119
|
-
isJSDocFunctionType: typeof import("../generated/assertions").isJSDocFunctionType;
|
|
120
|
-
isJSDocImplementsTag: typeof import("../generated/assertions").isJSDocImplementsTag;
|
|
121
|
-
isJSDocImportTag: typeof import("../generated/assertions").isJSDocImportTag;
|
|
122
|
-
isJSDocLink: typeof import("../generated/assertions").isJSDocLink;
|
|
123
|
-
isJSDocLinkCode: typeof import("../generated/assertions").isJSDocLinkCode;
|
|
124
|
-
isJSDocLinkPlain: typeof import("../generated/assertions").isJSDocLinkPlain;
|
|
125
|
-
isJSDocMemberName: typeof import("../generated/assertions").isJSDocMemberName;
|
|
126
|
-
isJSDocNamepathType: typeof import("../generated/assertions").isJSDocNamepathType;
|
|
127
|
-
isJSDocNameReference: typeof import("../generated/assertions").isJSDocNameReference;
|
|
128
|
-
isJSDocNonNullableType: typeof import("../generated/assertions").isJSDocNonNullableType;
|
|
129
|
-
isJSDocNullableType: typeof import("../generated/assertions").isJSDocNullableType;
|
|
130
|
-
isJSDocOptionalType: typeof import("../generated/assertions").isJSDocOptionalType;
|
|
131
|
-
isJSDocOverloadTag: typeof import("../generated/assertions").isJSDocOverloadTag;
|
|
132
|
-
isJSDocOverrideTag: typeof import("../generated/assertions").isJSDocOverrideTag;
|
|
133
|
-
isJSDocParameterTag: typeof import("../generated/assertions").isJSDocParameterTag;
|
|
134
|
-
isJSDocPrivateTag: typeof import("../generated/assertions").isJSDocPrivateTag;
|
|
135
|
-
isJSDocPropertyLikeTag: typeof import("../generated/assertions").isJSDocPropertyLikeTag;
|
|
136
|
-
isJSDocPropertyTag: typeof import("../generated/assertions").isJSDocPropertyTag;
|
|
137
|
-
isJSDocProtectedTag: typeof import("../generated/assertions").isJSDocProtectedTag;
|
|
138
|
-
isJSDocPublicTag: typeof import("../generated/assertions").isJSDocPublicTag;
|
|
139
|
-
isJSDocReadonlyTag: typeof import("../generated/assertions").isJSDocReadonlyTag;
|
|
140
|
-
isJSDocReturnTag: typeof import("../generated/assertions").isJSDocReturnTag;
|
|
141
|
-
isJSDocSatisfiesTag: typeof import("../generated/assertions").isJSDocSatisfiesTag;
|
|
142
|
-
isJSDocSeeTag: typeof import("../generated/assertions").isJSDocSeeTag;
|
|
143
|
-
isJSDocSignature: typeof import("../generated/assertions").isJSDocSignature;
|
|
144
|
-
isJSDocTemplateTag: typeof import("../generated/assertions").isJSDocTemplateTag;
|
|
145
|
-
isJSDocThisTag: typeof import("../generated/assertions").isJSDocThisTag;
|
|
146
|
-
isJSDocThrowsTag: typeof import("../generated/assertions").isJSDocThrowsTag;
|
|
147
|
-
isJSDocTypedefTag: typeof import("../generated/assertions").isJSDocTypedefTag;
|
|
148
|
-
isJSDocTypeExpression: typeof import("../generated/assertions").isJSDocTypeExpression;
|
|
149
|
-
isJSDocTypeLiteral: typeof import("../generated/assertions").isJSDocTypeLiteral;
|
|
150
|
-
isJSDocTypeTag: typeof import("../generated/assertions").isJSDocTypeTag;
|
|
151
|
-
isJSDocUnknownTag: typeof import("../generated/assertions").isJSDocUnknownTag;
|
|
152
|
-
isJSDocUnknownType: typeof import("../generated/assertions").isJSDocUnknownType;
|
|
153
|
-
isJSDocVariadicType: typeof import("../generated/assertions").isJSDocVariadicType;
|
|
154
|
-
isJsxAttribute: typeof import("../generated/assertions").isJsxAttribute;
|
|
155
|
-
isJsxAttributeLike: typeof import("../generated/assertions").isJsxAttributeLike;
|
|
156
|
-
isJsxAttributes: typeof import("../generated/assertions").isJsxAttributes;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
98
|
+
isIfStatement: typeof import("../generated/assertions.js").isIfStatement;
|
|
99
|
+
isImportAttribute: typeof import("../generated/assertions.js").isImportAttribute;
|
|
100
|
+
isImportAttributeName: typeof import("../generated/assertions.js").isImportAttributeName;
|
|
101
|
+
isImportAttributes: typeof import("../generated/assertions.js").isImportAttributes;
|
|
102
|
+
isImportClause: typeof import("../generated/assertions.js").isImportClause;
|
|
103
|
+
isImportDeclaration: typeof import("../generated/assertions.js").isImportDeclaration;
|
|
104
|
+
isImportEqualsDeclaration: typeof import("../generated/assertions.js").isImportEqualsDeclaration;
|
|
105
|
+
isImportSpecifier: typeof import("../generated/assertions.js").isImportSpecifier;
|
|
106
|
+
isImportTypeNode: typeof import("../generated/assertions.js").isImportTypeNode;
|
|
107
|
+
isIndexedAccessTypeNode: typeof import("../generated/assertions.js").isIndexedAccessTypeNode;
|
|
108
|
+
isIndexSignatureDeclaration: typeof import("../generated/assertions.js").isIndexSignatureDeclaration;
|
|
109
|
+
isInferTypeNode: typeof import("../generated/assertions.js").isInferTypeNode;
|
|
110
|
+
isInterfaceDeclaration: typeof import("../generated/assertions.js").isInterfaceDeclaration;
|
|
111
|
+
isIntersectionTypeNode: typeof import("../generated/assertions.js").isIntersectionTypeNode;
|
|
112
|
+
isJSDoc: typeof import("../generated/assertions.js").isJSDoc;
|
|
113
|
+
isJSDocAllType: typeof import("../generated/assertions.js").isJSDocAllType;
|
|
114
|
+
isJSDocAugmentsTag: typeof import("../generated/assertions.js").isJSDocAugmentsTag;
|
|
115
|
+
isJSDocAuthorTag: typeof import("../generated/assertions.js").isJSDocAuthorTag;
|
|
116
|
+
isJSDocCallbackTag: typeof import("../generated/assertions.js").isJSDocCallbackTag;
|
|
117
|
+
isJSDocClassTag: typeof import("../generated/assertions.js").isJSDocClassTag;
|
|
118
|
+
isJSDocDeprecatedTag: typeof import("../generated/assertions.js").isJSDocDeprecatedTag;
|
|
119
|
+
isJSDocEnumTag: typeof import("../generated/assertions.js").isJSDocEnumTag;
|
|
120
|
+
isJSDocFunctionType: typeof import("../generated/assertions.js").isJSDocFunctionType;
|
|
121
|
+
isJSDocImplementsTag: typeof import("../generated/assertions.js").isJSDocImplementsTag;
|
|
122
|
+
isJSDocImportTag: typeof import("../generated/assertions.js").isJSDocImportTag;
|
|
123
|
+
isJSDocLink: typeof import("../generated/assertions.js").isJSDocLink;
|
|
124
|
+
isJSDocLinkCode: typeof import("../generated/assertions.js").isJSDocLinkCode;
|
|
125
|
+
isJSDocLinkPlain: typeof import("../generated/assertions.js").isJSDocLinkPlain;
|
|
126
|
+
isJSDocMemberName: typeof import("../generated/assertions.js").isJSDocMemberName;
|
|
127
|
+
isJSDocNamepathType: typeof import("../generated/assertions.js").isJSDocNamepathType;
|
|
128
|
+
isJSDocNameReference: typeof import("../generated/assertions.js").isJSDocNameReference;
|
|
129
|
+
isJSDocNonNullableType: typeof import("../generated/assertions.js").isJSDocNonNullableType;
|
|
130
|
+
isJSDocNullableType: typeof import("../generated/assertions.js").isJSDocNullableType;
|
|
131
|
+
isJSDocOptionalType: typeof import("../generated/assertions.js").isJSDocOptionalType;
|
|
132
|
+
isJSDocOverloadTag: typeof import("../generated/assertions.js").isJSDocOverloadTag;
|
|
133
|
+
isJSDocOverrideTag: typeof import("../generated/assertions.js").isJSDocOverrideTag;
|
|
134
|
+
isJSDocParameterTag: typeof import("../generated/assertions.js").isJSDocParameterTag;
|
|
135
|
+
isJSDocPrivateTag: typeof import("../generated/assertions.js").isJSDocPrivateTag;
|
|
136
|
+
isJSDocPropertyLikeTag: typeof import("../generated/assertions.js").isJSDocPropertyLikeTag;
|
|
137
|
+
isJSDocPropertyTag: typeof import("../generated/assertions.js").isJSDocPropertyTag;
|
|
138
|
+
isJSDocProtectedTag: typeof import("../generated/assertions.js").isJSDocProtectedTag;
|
|
139
|
+
isJSDocPublicTag: typeof import("../generated/assertions.js").isJSDocPublicTag;
|
|
140
|
+
isJSDocReadonlyTag: typeof import("../generated/assertions.js").isJSDocReadonlyTag;
|
|
141
|
+
isJSDocReturnTag: typeof import("../generated/assertions.js").isJSDocReturnTag;
|
|
142
|
+
isJSDocSatisfiesTag: typeof import("../generated/assertions.js").isJSDocSatisfiesTag;
|
|
143
|
+
isJSDocSeeTag: typeof import("../generated/assertions.js").isJSDocSeeTag;
|
|
144
|
+
isJSDocSignature: typeof import("../generated/assertions.js").isJSDocSignature;
|
|
145
|
+
isJSDocTemplateTag: typeof import("../generated/assertions.js").isJSDocTemplateTag;
|
|
146
|
+
isJSDocThisTag: typeof import("../generated/assertions.js").isJSDocThisTag;
|
|
147
|
+
isJSDocThrowsTag: typeof import("../generated/assertions.js").isJSDocThrowsTag;
|
|
148
|
+
isJSDocTypedefTag: typeof import("../generated/assertions.js").isJSDocTypedefTag;
|
|
149
|
+
isJSDocTypeExpression: typeof import("../generated/assertions.js").isJSDocTypeExpression;
|
|
150
|
+
isJSDocTypeLiteral: typeof import("../generated/assertions.js").isJSDocTypeLiteral;
|
|
151
|
+
isJSDocTypeTag: typeof import("../generated/assertions.js").isJSDocTypeTag;
|
|
152
|
+
isJSDocUnknownTag: typeof import("../generated/assertions.js").isJSDocUnknownTag;
|
|
153
|
+
isJSDocUnknownType: typeof import("../generated/assertions.js").isJSDocUnknownType;
|
|
154
|
+
isJSDocVariadicType: typeof import("../generated/assertions.js").isJSDocVariadicType;
|
|
155
|
+
isJsxAttribute: typeof import("../generated/assertions.js").isJsxAttribute;
|
|
156
|
+
isJsxAttributeLike: typeof import("../generated/assertions.js").isJsxAttributeLike;
|
|
157
|
+
isJsxAttributes: typeof import("../generated/assertions.js").isJsxAttributes;
|
|
158
|
+
isJsxCallLike: typeof import("../generated/assertions.js").isJsxCallLike;
|
|
159
|
+
isJsxChild: typeof import("../generated/assertions.js").isJsxChild;
|
|
160
|
+
isJsxClosingElement: typeof import("../generated/assertions.js").isJsxClosingElement;
|
|
161
|
+
isJsxClosingFragment: typeof import("../generated/assertions.js").isJsxClosingFragment;
|
|
162
|
+
isJsxElement: typeof import("../generated/assertions.js").isJsxElement;
|
|
163
|
+
isJsxExpression: typeof import("../generated/assertions.js").isJsxExpression;
|
|
164
|
+
isJsxFragment: typeof import("../generated/assertions.js").isJsxFragment;
|
|
165
|
+
isJsxNamespacedName: typeof import("../generated/assertions.js").isJsxNamespacedName;
|
|
166
|
+
isJsxOpeningElement: typeof import("../generated/assertions.js").isJsxOpeningElement;
|
|
167
|
+
isJsxOpeningFragment: typeof import("../generated/assertions.js").isJsxOpeningFragment;
|
|
168
|
+
isJsxOpeningLikeElement: typeof import("../generated/assertions.js").isJsxOpeningLikeElement;
|
|
169
|
+
isJsxSelfClosingElement: typeof import("../generated/assertions.js").isJsxSelfClosingElement;
|
|
170
|
+
isJsxSpreadAttribute: typeof import("../generated/assertions.js").isJsxSpreadAttribute;
|
|
171
|
+
isJsxTagNameExpression: typeof import("../generated/assertions.js").isJsxTagNameExpression;
|
|
172
|
+
isJsxText: typeof import("../generated/assertions.js").isJsxText;
|
|
173
|
+
isLabeledStatement: typeof import("../generated/assertions.js").isLabeledStatement;
|
|
174
|
+
isLeftHandSideExpression: typeof import("../generated/assertions.js").isLeftHandSideExpression;
|
|
175
|
+
isLiteralExpression: typeof import("../generated/assertions.js").isLiteralExpression;
|
|
176
|
+
isLiteralTypeNode: typeof import("../generated/assertions.js").isLiteralTypeNode;
|
|
177
|
+
isMappedTypeNode: typeof import("../generated/assertions.js").isMappedTypeNode;
|
|
178
|
+
isMemberName: typeof import("../generated/assertions.js").isMemberName;
|
|
179
|
+
isMetaProperty: typeof import("../generated/assertions.js").isMetaProperty;
|
|
180
|
+
isMethodDeclaration: typeof import("../generated/assertions.js").isMethodDeclaration;
|
|
181
|
+
isMethodSignature: typeof import("../generated/assertions.js").isMethodSignature;
|
|
182
|
+
isMinusToken: typeof import("../generated/assertions.js").isMinusToken;
|
|
183
|
+
isMissingDeclaration: typeof import("../generated/assertions.js").isMissingDeclaration;
|
|
184
|
+
isModifier: typeof import("../generated/assertions.js").isModifier;
|
|
185
|
+
isModifierLike: typeof import("../generated/assertions.js").isModifierLike;
|
|
186
|
+
isModuleBlock: typeof import("../generated/assertions.js").isModuleBlock;
|
|
187
|
+
isModuleBody: typeof import("../generated/assertions.js").isModuleBody;
|
|
188
|
+
isModuleDeclaration: typeof import("../generated/assertions.js").isModuleDeclaration;
|
|
189
|
+
isModuleExportName: typeof import("../generated/assertions.js").isModuleExportName;
|
|
190
|
+
isModuleName: typeof import("../generated/assertions.js").isModuleName;
|
|
191
|
+
isModuleReference: typeof import("../generated/assertions.js").isModuleReference;
|
|
192
|
+
isNamedExportBindings: typeof import("../generated/assertions.js").isNamedExportBindings;
|
|
193
|
+
isNamedExports: typeof import("../generated/assertions.js").isNamedExports;
|
|
194
|
+
isNamedImportBindings: typeof import("../generated/assertions.js").isNamedImportBindings;
|
|
195
|
+
isNamedImports: typeof import("../generated/assertions.js").isNamedImports;
|
|
196
|
+
isNamedTupleMember: typeof import("../generated/assertions.js").isNamedTupleMember;
|
|
197
|
+
isNamespaceExport: typeof import("../generated/assertions.js").isNamespaceExport;
|
|
198
|
+
isNamespaceExportDeclaration: typeof import("../generated/assertions.js").isNamespaceExportDeclaration;
|
|
199
|
+
isNamespaceImport: typeof import("../generated/assertions.js").isNamespaceImport;
|
|
200
|
+
isNewExpression: typeof import("../generated/assertions.js").isNewExpression;
|
|
201
|
+
isNonNullChain: typeof import("../generated/assertions.js").isNonNullChain;
|
|
202
|
+
isNonNullExpression: typeof import("../generated/assertions.js").isNonNullExpression;
|
|
203
|
+
isNoSubstitutionTemplateLiteral: typeof import("../generated/assertions.js").isNoSubstitutionTemplateLiteral;
|
|
204
|
+
isNotEmittedStatement: typeof import("../generated/assertions.js").isNotEmittedStatement;
|
|
205
|
+
isNumericLiteral: typeof import("../generated/assertions.js").isNumericLiteral;
|
|
206
|
+
isObjectBindingPattern: typeof import("../generated/assertions.js").isObjectBindingPattern;
|
|
207
|
+
isObjectLiteralElement: typeof import("../generated/assertions.js").isObjectLiteralElement;
|
|
208
|
+
isObjectLiteralElementLike: typeof import("../generated/assertions.js").isObjectLiteralElementLike;
|
|
209
|
+
isObjectLiteralExpression: typeof import("../generated/assertions.js").isObjectLiteralExpression;
|
|
210
|
+
isOmittedExpression: typeof import("../generated/assertions.js").isOmittedExpression;
|
|
211
|
+
isOptionalTypeNode: typeof import("../generated/assertions.js").isOptionalTypeNode;
|
|
212
|
+
isParameter: typeof import("../generated/assertions.js").isParameter;
|
|
213
|
+
isParenthesizedExpression: typeof import("../generated/assertions.js").isParenthesizedExpression;
|
|
214
|
+
isParenthesizedTypeNode: typeof import("../generated/assertions.js").isParenthesizedTypeNode;
|
|
215
|
+
isPartiallyEmittedExpression: typeof import("../generated/assertions.js").isPartiallyEmittedExpression;
|
|
216
|
+
isPlusToken: typeof import("../generated/assertions.js").isPlusToken;
|
|
217
|
+
isPostfixUnaryExpression: typeof import("../generated/assertions.js").isPostfixUnaryExpression;
|
|
218
|
+
isPrefixUnaryExpression: typeof import("../generated/assertions.js").isPrefixUnaryExpression;
|
|
219
|
+
isPrivateIdentifier: typeof import("../generated/assertions.js").isPrivateIdentifier;
|
|
220
|
+
isPropertyAccessChain: typeof import("../generated/assertions.js").isPropertyAccessChain;
|
|
221
|
+
isPropertyAccessExpression: typeof import("../generated/assertions.js").isPropertyAccessExpression;
|
|
222
|
+
isPropertyAssignment: typeof import("../generated/assertions.js").isPropertyAssignment;
|
|
223
|
+
isPropertyDeclaration: typeof import("../generated/assertions.js").isPropertyDeclaration;
|
|
224
|
+
isPropertyName: typeof import("../generated/assertions.js").isPropertyName;
|
|
225
|
+
isPropertySignature: typeof import("../generated/assertions.js").isPropertySignature;
|
|
226
|
+
isQualifiedName: typeof import("../generated/assertions.js").isQualifiedName;
|
|
227
|
+
isQuestionDotToken: typeof import("../generated/assertions.js").isQuestionDotToken;
|
|
228
|
+
isQuestionToken: typeof import("../generated/assertions.js").isQuestionToken;
|
|
229
|
+
isRegularExpressionLiteral: typeof import("../generated/assertions.js").isRegularExpressionLiteral;
|
|
230
|
+
isRestTypeNode: typeof import("../generated/assertions.js").isRestTypeNode;
|
|
231
|
+
isReturnStatement: typeof import("../generated/assertions.js").isReturnStatement;
|
|
232
|
+
isSatisfiesExpression: typeof import("../generated/assertions.js").isSatisfiesExpression;
|
|
233
|
+
isSemicolonClassElement: typeof import("../generated/assertions.js").isSemicolonClassElement;
|
|
234
|
+
isSetAccessor: typeof import("../generated/assertions.js").isSetAccessor;
|
|
235
|
+
isSetAccessorDeclaration: typeof import("../generated/assertions.js").isSetAccessorDeclaration;
|
|
236
|
+
isShorthandPropertyAssignment: typeof import("../generated/assertions.js").isShorthandPropertyAssignment;
|
|
237
|
+
isSourceFile: typeof import("../generated/assertions.js").isSourceFile;
|
|
238
|
+
isSpreadAssignment: typeof import("../generated/assertions.js").isSpreadAssignment;
|
|
239
|
+
isSpreadElement: typeof import("../generated/assertions.js").isSpreadElement;
|
|
240
|
+
isStatement: typeof import("../generated/assertions.js").isStatement;
|
|
241
|
+
isStringLiteral: typeof import("../generated/assertions.js").isStringLiteral;
|
|
242
|
+
isSwitchStatement: typeof import("../generated/assertions.js").isSwitchStatement;
|
|
243
|
+
isSyntheticExpression: typeof import("../generated/assertions.js").isSyntheticExpression;
|
|
244
|
+
isTaggedTemplateExpression: typeof import("../generated/assertions.js").isTaggedTemplateExpression;
|
|
245
|
+
isTemplateExpression: typeof import("../generated/assertions.js").isTemplateExpression;
|
|
246
|
+
isTemplateHead: typeof import("../generated/assertions.js").isTemplateHead;
|
|
247
|
+
isTemplateLiteral: typeof import("../generated/assertions.js").isTemplateLiteral;
|
|
248
|
+
isTemplateLiteralToken: typeof import("../generated/assertions.js").isTemplateLiteralToken;
|
|
249
|
+
isTemplateLiteralTypeNode: typeof import("../generated/assertions.js").isTemplateLiteralTypeNode;
|
|
250
|
+
isTemplateLiteralTypeSpan: typeof import("../generated/assertions.js").isTemplateLiteralTypeSpan;
|
|
251
|
+
isTemplateMiddle: typeof import("../generated/assertions.js").isTemplateMiddle;
|
|
252
|
+
isTemplateSpan: typeof import("../generated/assertions.js").isTemplateSpan;
|
|
253
|
+
isTemplateTail: typeof import("../generated/assertions.js").isTemplateTail;
|
|
254
|
+
isThisTypeNode: typeof import("../generated/assertions.js").isThisTypeNode;
|
|
255
|
+
isThrowStatement: typeof import("../generated/assertions.js").isThrowStatement;
|
|
256
|
+
isTryStatement: typeof import("../generated/assertions.js").isTryStatement;
|
|
257
|
+
isTupleTypeNode: typeof import("../generated/assertions.js").isTupleTypeNode;
|
|
258
|
+
isTypeAliasDeclaration: typeof import("../generated/assertions.js").isTypeAliasDeclaration;
|
|
259
|
+
isTypeAssertionExpression: typeof import("../generated/assertions.js").isTypeAssertionExpression;
|
|
260
|
+
isTypeElement: typeof import("../generated/assertions.js").isTypeElement;
|
|
261
|
+
isTypeLiteralNode: typeof import("../generated/assertions.js").isTypeLiteralNode;
|
|
262
|
+
isTypeNode: typeof import("../generated/assertions.js").isTypeNode;
|
|
263
|
+
isTypeOfExpression: typeof import("../generated/assertions.js").isTypeOfExpression;
|
|
264
|
+
isTypeOnlyExportDeclaration: typeof import("../generated/assertions.js").isTypeOnlyExportDeclaration;
|
|
265
|
+
isTypeOnlyImportDeclaration: typeof import("../generated/assertions.js").isTypeOnlyImportDeclaration;
|
|
266
|
+
isTypeOnlyImportOrExportDeclaration: typeof import("../generated/assertions.js").isTypeOnlyImportOrExportDeclaration;
|
|
267
|
+
isTypeOperatorNode: typeof import("../generated/assertions.js").isTypeOperatorNode;
|
|
268
|
+
isTypeParameterDeclaration: typeof import("../generated/assertions.js").isTypeParameterDeclaration;
|
|
269
|
+
isTypePredicateNode: typeof import("../generated/assertions.js").isTypePredicateNode;
|
|
270
|
+
isTypeQueryNode: typeof import("../generated/assertions.js").isTypeQueryNode;
|
|
271
|
+
isTypeReferenceNode: typeof import("../generated/assertions.js").isTypeReferenceNode;
|
|
272
|
+
isUnionTypeNode: typeof import("../generated/assertions.js").isUnionTypeNode;
|
|
273
|
+
isVariableDeclaration: typeof import("../generated/assertions.js").isVariableDeclaration;
|
|
274
|
+
isVariableDeclarationList: typeof import("../generated/assertions.js").isVariableDeclarationList;
|
|
275
|
+
isVariableStatement: typeof import("../generated/assertions.js").isVariableStatement;
|
|
276
|
+
isVoidExpression: typeof import("../generated/assertions.js").isVoidExpression;
|
|
277
|
+
isWhileStatement: typeof import("../generated/assertions.js").isWhileStatement;
|
|
278
|
+
isWithStatement: typeof import("../generated/assertions.js").isWithStatement;
|
|
279
|
+
isYieldExpression: typeof import("../generated/assertions.js").isYieldExpression;
|
|
277
280
|
};
|
|
278
281
|
export default _default;
|
package/lib/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import generated, { isExpression, isIdentifier, } from '../generated/assertions';
|
|
1
|
+
import generated, { isExpression, isIdentifier, } from '../generated/assertions.js';
|
|
2
2
|
import assert from 'node:assert/strict';
|
|
3
3
|
import ts from 'typescript';
|
|
4
4
|
export function isBooleanLiteral(node, type, message) {
|
package/package.json
CHANGED
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
},
|
|
17
17
|
"types": "./lib/main.d.ts",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@signpostmarv/eslint-config": "^0.
|
|
19
|
+
"@signpostmarv/eslint-config": "^0.4.0",
|
|
20
20
|
"@types/eslint": "^9.6.1",
|
|
21
|
-
"@types/node": "^
|
|
21
|
+
"@types/node": "^24.3.1",
|
|
22
22
|
"c8": "^10.1.2",
|
|
23
|
-
"eslint": "^9.
|
|
23
|
+
"eslint": "^9.34.0",
|
|
24
24
|
"prettier": "^3.2.5",
|
|
25
25
|
"ts-node": "^10.9.2",
|
|
26
|
-
"typescript-eslint": "^8.
|
|
26
|
+
"typescript-eslint": "^8.42.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"typescript": "~5.
|
|
29
|
+
"typescript": "~5.9.2"
|
|
30
30
|
},
|
|
31
|
-
"version": "0.
|
|
31
|
+
"version": "0.4.1"
|
|
32
32
|
}
|