You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes a TS compilation error
error TS1484: 'Note' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
To Reproduce
Add tone.js as a dependency in a project with 'verbatimModuleSyntax' is enabled.
The text was updated successfully, but these errors were encountered:
Describe the bug
In https://github.com/Tonejs/Tone.js/blob/dev/Tone/core/type/Units.ts there is the import statement
import { Note } from "./NoteUnits";
This causes a TS compilation error
error TS1484: 'Note' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
To Reproduce
Add tone.js as a dependency in a project with 'verbatimModuleSyntax' is enabled.
The text was updated successfully, but these errors were encountered: