Skip to content

🤖 User test baselines have changed #33411

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

Merged

Conversation

typescript-bot
Copy link
Collaborator

Please review the diff and merge if no changes are unexpected.
You can view the build log here.

cc @weswigham @sandersn @RyanCavanaugh

node_modules/@jimp/core/index.d.ts(255,42): error TS2344: Type 'T' does not satisfy the constraint 'WellFormedPlugin<Image>'.
Type 'JimpType<Image> | undefined' is not assignable to type 'WellFormedPlugin<Image>'.
Type 'undefined' is not assignable to type 'WellFormedPlugin<Image>'.
index.ts(1,23): error TS2307: Cannot find module 'jimp'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jimp-dev/jimp#792 yeah they're still... trying. XD

{"type":"warning","data":"../package.json: No license field"}
{"type":"warning","data":"[email protected]: No license field"}
[XX:XX:XX] 'compile' errored after ?s
[XX:XX:XX] TypeError: Cannot read property 'text' of undefined
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mjbvz is the vscode build broken? This error stack doesn't include the TS compiler. o.O

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think master was broken earlier today but it should be fixed now

@@ -0,0 +1,10 @@
Exit Code: 1
Standard output:
lib/Compilation.js(575,5): error TS2322: Type 'number | "toString" | "valueOf" | "charAt" | "charCodeAt" | "concat" | "indexOf" | "lastIndexOf" | "localeCompare" | "match" | "replace" | "search" | "slice" | "split" | "substring" | ... 29 more ... | "trimRight"' is not assignable to type 'string'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, so this is broken because of webpack. They wrote /** @typedef {keyof LogType} LogTypeEnum */. LogType is string. That is keyof string. That is wrong. They need to write, instead, /** @typedef {keyof typeof LogType} LogTypeEnum */. Not really sure why this doesn't error in however they're testing their types, but it should.

cc @sokra just so yall know

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.

3 participants