Lexical version: 0.12.2
Steps To Reproduce
- Set
moduleResolution to something other than "node" ("Bundler" in my case) in tsconfig.json's compilerOptions
Link to code example: stackblitz
The current behavior
Some of the methods on lexical objects have return type any.

I know it is possible to cast it but I believe it is better to get to the root cause of this.
The expected behavior
Those methods should have proper return type.

Lexical version: 0.12.2
Steps To Reproduce
moduleResolutionto something other than "node" ("Bundler" in my case) in tsconfig.json's compilerOptionsLink to code example: stackblitz
The current behavior
Some of the methods on lexical objects have return type
any.I know it is possible to cast it but I believe it is better to get to the root cause of this.
The expected behavior
Those methods should have proper return type.