Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Convert zoom-to-fit plugin to TypeScript. #1869

Merged
merged 15 commits into from
Aug 21, 2023

Conversation

gonfunko
Copy link
Contributor

This PR fixes part of #1647 by converting the zoom-to-fit plugin to Typescript.

@gonfunko gonfunko requested a review from a team as a code owner August 18, 2023 18:34
@gonfunko gonfunko requested review from BeksOmega and removed request for a team August 18, 2023 18:34
Copy link
Contributor

@BeksOmega BeksOmega left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM! But not sure how the tsconfig is supposed to be set up.

plugins/zoom-to-fit/src/index.ts Outdated Show resolved Hide resolved
plugins/zoom-to-fit/tsconfig.json Show resolved Hide resolved
@gonfunko gonfunko merged commit 6cc17e3 into google:master Aug 21, 2023
7 checks passed
@gonfunko gonfunko deleted the zoom-to-fit-ts branch August 21, 2023 15:17
gonfunko added a commit to gonfunko/blockly-samples that referenced this pull request Aug 25, 2023
* chore: Add a tsconfig.json.

* chore: Rename index.js to index.ts

* fix: Explicitly declare instance variables.

* fix: Implement IPositionable.

* fix: Add types to methods.

* fix: Add visibility modifiers to methods.

* chore: Clean up JSDoc type annotations.

* chore: Clean up underscores.

* chore: Use template literals where appropriate.

* chore: Fix casing of constants.

* chore: Format and lint.

* chore: Rename test/index.js to test/index.ts

* chore: Convert test/index.ts to Typescript

* chore: Add TypeScript and corresponding eslint to dev dependencies.

* fix: Fix comment casing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants