ember-basic-dropdown icon indicating copy to clipboard operation
ember-basic-dropdown copied to clipboard

Compiled types missing from npm package

Open billdami opened this issue 4 years ago • 1 comments

When attempting to import modules from the addon (v3.0.1) in a TypeScript ember application, e.g.

import BasicDropdownTrigger from 'ember-basic-dropdown/components/basic-dropdown-trigger';

Errors like Cannot find module 'ember-basic-dropdown/components/basic-dropdown-trigger'. are returned.

It looks like this is because the downloaded npm package does not include the compiled type files that it expects in those locations, i.e. node_modules/ember-basic-dropdown/components/basic-dropdown-trigger.d.ts which ember-cli-typescript should normally be generating as part of the prepublishOnly step when publishing the package.

billdami avatar Apr 01 '20 17:04 billdami

Bumping.

netes avatar Sep 23 '21 07:09 netes

TS types are now complete in v8

mkszepp avatar Mar 09 '24 13:03 mkszepp