Skip to content

v0.64.1

Choose a tag to compare

@github-actions github-actions released this 04 Jan 13:52
· 177 commits to main since this release
2b66b3b

Patch Changes

  • #568 477271d Thanks @mattiamanzati! - Fix auto-import with namespace import packages generating malformed code when the identifier is at the beginning of the file.

    When using namespaceImportPackages configuration and auto-completing an export like isAnyKeyword from effect/SchemaAST, the code was incorrectly generated as:

    SchemaAST.import * as SchemaAST from "effect/SchemaAST";

    Instead of the expected:

    import * as SchemaAST from "effect/SchemaAST";
    
    SchemaAST.isAnyKeyword;

    The fix ensures the import statement is added before the namespace prefix when both changes target position 0.