-
Notifications
You must be signed in to change notification settings - Fork 8
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
Remove redundant width and height #28
Conversation
These are already declared by Clutter.Actor, and our declarations are conflicting because they omit null.
/cc @Totto16 |
@JumpLink I wonder why CI didn't catch these… libcheck flagged them in my extension, and VSCode immediately flagged them too when I opened the file 🤔 |
That might be a mess-up by me, true, it's strange, that they are not detected by the CI 🤔 (and by me locally they weren't either) |
After some investigation, it never throws and error in any scenario for me locally, I did a full reset, and also than, it never failed. I tested e.g. export const u: St.Bin.ConstructorProperties
type U = typeof u.height and U was But in
validating in the CI / locally just uses Anyway, it seems rather complicated, can you post your setup for the configuration, you get the error (I saw you using pnpm, I don't know if thats important or not... 🤔 (it shouldn't but who knows) ) And if you run |
It really seems to be the tsconfig options, I set them to be:
And than it fails 😂 Locally in the extension, I tested it on too, it has this config:
|
I didn't notice that this repo didn't set strictNullChecks and strict in its tsconfig. I think that should be corrected, i.e. these flags should be added. Ideally, the tsconfig in this repo would inherit from As for why it doesn't fail for your extension, I presume you have libCheck disabled which will make typescript ignore all errors from library code. |
ah yes, libCheck 🤦🏼♂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes the previously undiscovered bug 👍🏼
@JumpLink I already bumped the version, you only need to publish the version to npm ❤️ |
@JumpLink Would you push a new version with this change? |
Is now published on NPM 👍 |
That would work too 👍🏼 |
@JumpLink I'm confused; I see a version on NPM but no release here? Did you forget to push a tag perchance? |
@JumpLink As for npm, I don't have an NPM account. I'll create one, but may take a few days as I'm away now. |
@swsnr Yes I forgot to draft a new release here on GitHub, did this now: https://github.com/gjsify/gnome-shell/releases/tag/46.0.0-beta5 |
@JumpLink I finally got around to making an account on npm.js: https://www.npmjs.com/~swsnr Sorry for the delay, easter's always pretty busy 😇 |
@swsnr No problem, for me too :) I have sent you an invite |
These are already declared by Clutter.Actor, and our declarations are conflicting because they omit null.
Fixes the following compiler errors: