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

Path are not recognize files paths #88

Open
IsaacIsrael opened this issue Jan 1, 2025 · 0 comments
Open

Path are not recognize files paths #88

IsaacIsrael opened this issue Jan 1, 2025 · 0 comments

Comments

@IsaacIsrael
Copy link

Hey, I insert this config on my .tsconfig

 "plugins": [
      {
        "name": "typescript-strict-plugin",
        "paths": [
          "./src/z-test",
          "./src/test3.ts",
          "./src/test4.tsx",
        ]
      }
    ],

and all of the files have this code

import { Test } from 'tslint'
interface Test {
  a?: {
    b: string
  }
}

const test: Test = {}

console.log(test.a.b)

The plugin only points the error to files inside the z-test folder, not files directly declared at the paths.
What Could be wrong?

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

No branches or pull requests

1 participant