Skip to content

TypeScript 6 API Bug - isSourceFileDefaultLibrary false negative on program structure reuseΒ #63228

@StyleShit

Description

@StyleShit

πŸ”Ž Search Terms

isSourceFileDefaultLibrary

πŸ•— Version & Regression Information

⏯ Playground Link

No response

πŸ’» Code

https://github.com/StyleShit/repros/tree/main/ts-6-isSourceFileDefaultLibrary

πŸ™ Actual behavior

isSourceFileDefaultLibrary returns false for source files in the default library

πŸ™‚ Expected behavior

isSourceFileDefaultLibrary will return true for source files in the default library, as in previous versions

Additional information about the issue

I'm willing to send a PR to fix this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions