Skip to content

Example implementation using Typescript #48

@Arlen22

Description

@Arlen22

In order to give a better example of how this operator would work, I've implemented it in TypeScript.

You can download the typescript-*.tar.gz file from https://github.com/Arlen22/TypeScript/releases and then npm install the file in your project to use it.

If you're using VSCode you can change which version of TypeScript it uses for intellisense by clicking on TypeScript in the status bar.

It should compile to working JavaScript. Check the releases page for known issues.

I'm NOT a TypeScript maintainer. Do NOT use this example for production code.

Notes

Branch: https://github.com/Arlen22/TypeScript/tree/arlen22-0.2

I implemented it to have the same precedence as the yield operator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeedbackFeedback, usages and examples

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions