Skip to content

Add back missing import of Formatter type#237

Open
Philipp91 wants to merge 1 commit into
nmn:masterfrom
Philipp91:typefix
Open

Add back missing import of Formatter type#237
Philipp91 wants to merge 1 commit into
nmn:masterfrom
Philipp91:typefix

Conversation

@Philipp91
Copy link
Copy Markdown

Fixes #234.

#231 had turned the import type line into an export type line to re-export the types, but missed that re-exported types "do not become available inside the current module", yet the Formatter type is actually used within the same file.

Fixes nmn#234.

nmn#231 had turned the `import type` line into an `export type` line to re-export the types, but missed that [re-exported types "do not become available inside the current module"](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export#re-exporting_aggregating), yet the `Formatter` type is actually used within the same file.
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.

"...error TS2304: Cannot find name 'Formatter'."

1 participant