If this file is intended to be built with verbatimModuleSyntaxdisabled or if this file shouldn't be imported by other packages, then close this issue as "not planned".
Types.ts imports interfaces from @babel/core, rollup, and @boost/common without the type keyword. Typescript prohibits this when 'verbatimModuleSyntax' is enabled.
node_modules/packemon/src/types.ts:1:10 - error TS1484: 'OutputOptions' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
1 import { OutputOptions as RollupOutputOptions, RollupOptions } from 'rollup';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/packemon/src/types.ts:1:48 - error TS1484: 'RollupOptions' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
1 import { OutputOptions as RollupOutputOptions, RollupOptions } from 'rollup';
~~~~~~~~~~~~~
node_modules/packemon/src/types.ts:2:10 - error TS1484: 'TransformOptions' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
2 import { TransformOptions as BabelOptions } from '@babel/core';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/packemon/src/types.ts:3:10 - error TS1484: 'PackageStructure' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
3 import { PackageStructure } from '@boost/common';
~~~~~~~~~~~~~~~~
If this file is intended to be built with
verbatimModuleSyntax
disabled or if this file shouldn't be imported by other packages, then close this issue as "not planned".Types.ts imports interfaces from
@babel/core
,rollup
, and@boost/common
without thetype
keyword. Typescript prohibits this when 'verbatimModuleSyntax' is enabled.