Open IARI opened 8 months ago
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.
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.