Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--files argument doesn't work in latest 8.8.0 version #986

Closed
tjx666 opened this issue Mar 22, 2020 · 3 comments
Closed

--files argument doesn't work in latest 8.8.0 version #986

tjx666 opened this issue Mar 22, 2020 · 3 comments
Labels

Comments

@tjx666
Copy link

tjx666 commented Mar 22, 2020

ts-node doesn't load declaration files and throw compile error

reproduce

https://github.com/tjx666/coo/tree/e8861b8d5c3fb9eddea386d6854fb798757b52cd

Specifications

  • ts-node version: 8.8.0
  • TypeScript version: 3.8.3
  • tsconfig.json, if you're using one:
{
    "compilerOptions": {
        /* Basic Options */
        "target": "ES2019",
        "module": "commonjs",

        /* Strict Type-Checking Options */
        "strict": true,

        /* Additional Checks */
        "noUnusedLocals": true,
        "noUnusedParameters": true,
        "noImplicitReturns": true,
        "noFallthroughCasesInSwitch": true,

        /* Module Resolution Options */
        "moduleResolution": "node",
        "esModuleInterop": true,
        "resolveJsonModule": true,

        /* Experimental Options */
        "experimentalDecorators": true,
        "emitDecoratorMetadata": true,

        /* Advanced Options */
        "forceConsistentCasingInFileNames": true,
        "skipLibCheck": true
    }
}
  • node version: v12.16.1
  • Operating system and version: win10pro 1909, not wsl
@tjx666 tjx666 changed the title --files argument doesn't in latest 8.8.0 version --files argument doesn't work in latest 8.8.0 version Mar 22, 2020
@blakeembrey
Copy link
Member

Thanks for the report! Fixed with https://github.com/TypeStrong/ts-node/releases/tag/v8.8.1. I'll look into getting a test case covering it tonight.

@pawlufelice
Copy link

Seems to broken again on 9.1.0

@cspotcode
Copy link
Collaborator

Our tests are still passing, so I'm going to assume this is all working correctly in 9.1.1 unless there's some specific use-case that's being missed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants