-
Notifications
You must be signed in to change notification settings - Fork 769
Open
Description
Steps to reproduce
1.git clone
2.yarn
3.yarn tsgo -b
babel/babel#17411
Sorry. I tried to do a minimal reproduction, but it failed.
It works fine when I access the property within the same file, but it throws an error in other packages.
Behavior with typescript@5.9
no errors
Behavior with tsgo
packages/babel-core/src/transformation/index.ts:112:30 - error TS2339: Property 'visitors' does not exist on type '{ <S>(parent: Node, opts: TraverseOptions<S>, scope: Scope, state: S, parentPath?: NodePath_Final, visitSelf?: boolean): void; (parent: Node, opts: TraverseOptions<...>, scope?: Scope, state?: any, parentPath?: NodePath_Final, visitSelf?: boolean): void; }'.
112 const visitor = traverse.visitors.merge(
Metadata
Metadata
Assignees
Labels
No labels