Skip to content

Import Pretender in Typescript yields empty module  #229

@jorgelainfiesta

Description

@jorgelainfiesta

Hi!

I'm trying to use Pretender in a Glimmer application but I'm having trouble importing the module. Using import Pretender from 'pretender' doesn't resolve anything because there's apparently no default export. I'm now using import * as pretender from 'pretender' to get the whole thing but I just get an empty object.

I saw there's type support and tried to read the related issues (that are now closed) but I still don't know how to make it work properly.

Am I missing something?

Thanks,
Jorge L

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions