Skip to content

cache is not cleared after tsconfig.json changes when using tsimp #6

@andriyor

Description

@andriyor

i had such error

❯ tsimp src/esm/usage.ts
(node:98619) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
src/esm/usage.ts:3:1 - error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.

3 console.log(sum(2, 8));

after lib propperty change in tsconfig.json i had the same error

"lib": ["dom"],

and only after deleting of .tsimp it fixed

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