Skip to content

fix: export Schema and additional schemas#197

Merged
alexander-akait merged 1 commit intomasterfrom
issue-121
Apr 22, 2025
Merged

fix: export Schema and additional schemas#197
alexander-akait merged 1 commit intomasterfrom
issue-121

Conversation

@alexander-akait
Copy link
Copy Markdown
Member

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

fixes #121

Breaking Changes

No

Additional Info

No

@alexander-akait alexander-akait merged commit f72cd60 into master Apr 22, 2025
26 checks passed
@alexander-akait alexander-akait deleted the issue-121 branch April 22, 2025 13:01
@sethamus
Copy link
Copy Markdown

I believe this change is likely why ESLint CI started to fail.

Run npm run lint:types

> eslint-webpack-plugin@[5](https://github.com/eslint/eslint/actions/runs/14600143793/job/40956026705?pr=19648#step:7:6).0.1 lint:types
> tsc --pretty --noEmit

node_modules/webpack/types.d.ts:9[6](https://github.com/eslint/eslint/actions/runs/14600143793/job/40956026705?pr=19648#step:7:7):2 - error TS2305: Module '"schema-utils/declarations/validate"' has no exported member 'Extend'.

96  Extend,
    ~~~~~~


Found 1 error in node_modules/webpack/types.d.ts:[9](https://github.com/eslint/eslint/actions/runs/14600143793/job/40956026705?pr=19648#step:7:10)6

Error: Process completed with exit code 2.

@alexander-akait
Copy link
Copy Markdown
Member Author

@sethamus Because some types was internally renamed, you should use a new name - ExtendedSchema

@alexander-akait
Copy link
Copy Markdown
Member Author

But looks like more developers use it, fix here - #198

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

Successfully merging this pull request may close these issues.

Add Schema type declaration

2 participants