|  | 
| 1 |  | -import type { BaseNode } from 'estree'; | 
|  | 1 | +import type { Node } from 'estree'; | 
| 2 | 2 | 
 | 
| 3 | 3 | export interface AttachedScope { | 
| 4 | 4 |   parent?: AttachedScope; | 
| 5 | 5 |   isBlockScope: boolean; | 
| 6 | 6 |   declarations: { [key: string]: boolean }; | 
| 7 |  | -  addDeclaration(node: BaseNode, isBlockDeclaration: boolean, isVar: boolean): void; | 
|  | 7 | +  addDeclaration(node: Node, isBlockDeclaration: boolean, isVar: boolean): void; | 
| 8 | 8 |   contains(name: string): boolean; | 
| 9 | 9 | } | 
| 10 | 10 | 
 | 
| @@ -37,7 +37,7 @@ export function addExtension(filename: string, ext?: string): string; | 
| 37 | 37 |  * Each `Scope` object has a `scope.contains(name)` method that returns `true` | 
| 38 | 38 |  * if a given name is defined in the current scope or a parent scope. | 
| 39 | 39 |  */ | 
| 40 |  | -export function attachScopes(ast: BaseNode, propertyName?: string): AttachedScope; | 
|  | 40 | +export function attachScopes(ast: Node, propertyName?: string): AttachedScope; | 
| 41 | 41 | 
 | 
| 42 | 42 | /** | 
| 43 | 43 |  * Constructs a filter function which can be used to determine whether or not | 
| @@ -66,7 +66,7 @@ export function dataToEsm(data: unknown, options?: DataToEsmOptions): string; | 
| 66 | 66 |  * Extracts the names of all assignment targets based upon specified patterns. | 
| 67 | 67 |  * @param param An `acorn` AST Node. | 
| 68 | 68 |  */ | 
| 69 |  | -export function extractAssignedNames(param: BaseNode): string[]; | 
|  | 69 | +export function extractAssignedNames(param: Node): string[]; | 
| 70 | 70 | 
 | 
| 71 | 71 | /** | 
| 72 | 72 |  * Constructs a bundle-safe identifier from a `string`. | 
|  | 
0 commit comments