typescript 4.7.0-dev.20220308 → 4.7.0-dev.20220311

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.
@@ -424,6 +424,7 @@ declare namespace ts {
424
424
  JSDocFunctionType = 316,
425
425
  JSDocVariadicType = 317,
426
426
  JSDocNamepathType = 318,
427
+ /** @deprecated Use SyntaxKind.JSDoc */
427
428
  JSDocComment = 319,
428
429
  JSDocText = 320,
429
430
  JSDocTypeLiteral = 321,
@@ -491,6 +492,7 @@ declare namespace ts {
491
492
  LastJSDocNode = 346,
492
493
  FirstJSDocTagNode = 326,
493
494
  LastJSDocTagNode = 346,
495
+ JSDoc = 319
494
496
  }
495
497
  export type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
496
498
  export type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
@@ -1820,7 +1822,7 @@ declare namespace ts {
1820
1822
  }
1821
1823
  export type JSDocTypeReferencingNode = JSDocVariadicType | JSDocOptionalType | JSDocNullableType | JSDocNonNullableType;
1822
1824
  export interface JSDoc extends Node {
1823
- readonly kind: SyntaxKind.JSDocComment;
1825
+ readonly kind: SyntaxKind.JSDoc;
1824
1826
  readonly parent: HasJSDoc;
1825
1827
  readonly tags?: NodeArray<JSDocTag>;
1826
1828
  readonly comment?: string | NodeArray<JSDocComment>;