Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Conversation

arodionov
Copy link
Contributor

@arodionov arodionov commented Feb 7, 2025

A new class, JavaScriptPrinter, implements the TS printer and utility methods.

There are two printer implementations:

  • JavaScriptPrinter Java class
  • JavaScriptPrinter TypeScript class

By default, all jest tests use TypeScript implementation. The JavaScriptPrinter instanced in a testHarness.ts

To run a Java-based JavaScriptPrinter, you should set the environment variable:
NODE_ENV=it

There are two printer implementations:
- JavaScriptPrinter Java class
- JavaScriptPrinter TypeScript class

The TypeScript printer set as default for tests.
To run Java printer tests, set environment variable NODE_ENV=it
@arodionov arodionov changed the title [Draft] Implemented TS printer Implemented TypeScript printer Feb 18, 2025
@arodionov arodionov marked this pull request as ready for review February 18, 2025 15:53
@arodionov arodionov merged commit 4d28da3 into main Feb 19, 2025
1 check passed
@arodionov arodionov deleted the ts-printer branch February 19, 2025 14:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants