Skip to content

Request on documentation about the tests and development guide #2428

@aghArdeshir

Description

@aghArdeshir

Hi. I've been trying to contribute to TypeScript for the last month (This is the problem I want to resolve just for reference: microsoft/TypeScript#49149)

The setup, install, VSCode containers, documentation to run tests was all fine. I even got to run the tests and seeing them all pass.

But constantly I am being lost in the way the whole thing generally work.

My change is as simple as this:
image

But when I run tests, I get failing tests in too many files that does not seem related to my eye. I believe I will need to understand the whole thing more to be able to make any change in this code base.

I understand that the whole TypeScript thing is not an easy thing to understand and develop; like it is not a normal application; rather it is a whole language and type system.

But still, what I request is a public documentation on how the tests work work. Like, specifically how to read these files:

https://github.com/microsoft/TypeScript/blob/v4.7.4/tests/baselines/reference/abstractPropertyInitializer.types

https://github.com/microsoft/TypeScript/blob/v4.7.4/tests/baselines/reference/YieldExpression5_es6.errors.txt

https://github.com/microsoft/TypeScript/blob/v4.7.4/tests/baselines/reference/YieldExpression4_es6.symbols

I tried reading some merged PRs. But, still, they were too hard to understand.

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