Skip to content

node_modules/@cld-apis/types/lib/index.d.ts:38:23 - error TS2307: Cannot find module './asset/Asset' or its corresponding type declarations. #18

@bjornharvold

Description

@bjornharvold

Hi @mayashavin

Great library! Well done. Made my day as it's currently the only way of passing dynamic variables. cl-image doesn't support that yet.

I am trying to compile my Angular library that uses the buildImageUrl. It's failing during compilation:

✖ Compiling TypeScript sources through NGC
ERROR: node_modules/@cld-apis/types/lib/index.d.ts:38:23 - error TS2307: Cannot find module './asset/Asset' or its corresponding type declarations.

38 export { Asset } from './asset/Asset'
                         ~~~~~~~~~~~~~~~

An unhandled exception occurred: node_modules/@cld-apis/types/lib/index.d.ts:38:23 - error TS2307: Cannot find module './asset/Asset' or its corresponding type declarations.

38 export { Asset } from './asset/Asset'
                         ~~~~~~~~~~~~~~~

By looking in index.d.ts you can see that there is no asset directory nor an Asset class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions