Skip to content

Conversation

jackkleeman
Copy link
Contributor

This is something esm requires, although in theory typescript can try and figure it out for us, this is no longer recommended (they recommend verbatimModuleSyntax true), because some things have side effects just from being imported, so its important to know if you're importing the type or not.

PR is generated simply by running npx eslint --fix --ignore-path .eslintignore --max-warnings=0 --ext .ts .

@jackkleeman jackkleeman requested a review from igalshilman June 17, 2024 15:55
Copy link
Contributor

@igalshilman igalshilman left a comment

Choose a reason for hiding this comment

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

Great, long overdue.
LGTM

This is something esm requires, although in theory typescript can try
and figure it out for us, this is no longer recommended.
@jackkleeman jackkleeman merged commit d46f4dd into main Jun 17, 2024
@jackkleeman jackkleeman deleted the import-type branch June 17, 2024 15:59
import type { PaymentWorkflow } from "./workflow";
import type { Counter } from "./object";
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be type tho

IngresCallOptions,
SendOpts,
Send,
IngresSendOptions,
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure about this one

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