typescript 5.4.0-dev.20240111 → 5.4.0-dev.20240113

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.
@@ -9198,6 +9198,7 @@ declare namespace ts {
9198
9198
  function isForInitializer(node: Node): node is ForInitializer;
9199
9199
  function isModuleBody(node: Node): node is ModuleBody;
9200
9200
  function isNamedImportBindings(node: Node): node is NamedImportBindings;
9201
+ function isDeclarationStatement(node: Node): node is DeclarationStatement;
9201
9202
  function isStatement(node: Node): node is Statement;
9202
9203
  function isModuleReference(node: Node): node is ModuleReference;
9203
9204
  function isJsxTagNameExpression(node: Node): node is JsxTagNameExpression;
@@ -9217,11 +9218,13 @@ declare namespace ts {
9217
9218
  function isJSDocLinkLike(node: Node): node is JSDocLink | JSDocLinkCode | JSDocLinkPlain;
9218
9219
  function hasRestParameter(s: SignatureDeclaration | JSDocSignature): boolean;
9219
9220
  function isRestParameter(node: ParameterDeclaration | JSDocParameterTag): boolean;
9221
+ function isInternalDeclaration(node: Node, sourceFile?: SourceFile): boolean;
9220
9222
  const unchangedTextChangeRange: TextChangeRange;
9221
9223
  type ParameterPropertyDeclaration = ParameterDeclaration & {
9222
9224
  parent: ConstructorDeclaration;
9223
9225
  name: Identifier;
9224
9226
  };
9227
+ function isPartOfTypeNode(node: Node): boolean;
9225
9228
  /**
9226
9229
  * This function checks multiple locations for JSDoc comments that apply to a host node.
9227
9230
  * At each location, the whole comment may apply to the node, or only a specific tag in
@@ -9860,7 +9863,7 @@ declare namespace ts {
9860
9863
  * @param visitor The callback used to visit each child.
9861
9864
  * @param context A lexical environment context for the visitor.
9862
9865
  */
9863
- function visitEachChild<T extends Node>(node: T, visitor: Visitor, context: TransformationContext): T;
9866
+ function visitEachChild<T extends Node>(node: T, visitor: Visitor, context: TransformationContext | undefined): T;
9864
9867
  /**
9865
9868
  * Visits each child of a Node using the supplied visitor, possibly returning a new Node of the same kind in its place.
9866
9869
  *
@@ -9868,7 +9871,7 @@ declare namespace ts {
9868
9871
  * @param visitor The callback used to visit each child.
9869
9872
  * @param context A lexical environment context for the visitor.
9870
9873
  */
9871
- function visitEachChild<T extends Node>(node: T | undefined, visitor: Visitor, context: TransformationContext, nodesVisitor?: typeof visitNodes, tokenVisitor?: Visitor): T | undefined;
9874
+ function visitEachChild<T extends Node>(node: T | undefined, visitor: Visitor, context: TransformationContext | undefined, nodesVisitor?: typeof visitNodes, tokenVisitor?: Visitor): T | undefined;
9872
9875
  function getTsBuildInfoEmitOutputFilePath(options: CompilerOptions): string | undefined;
9873
9876
  function getOutputFileNames(commandLine: ParsedCommandLine, inputFileName: string, ignoreCase: boolean): readonly string[];
9874
9877
  function createPrinter(printerOptions?: PrinterOptions, handlers?: PrintHandlers): Printer;