Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refine typing for Column#1488

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
alubbe merged 1 commit intoexceljs:masterfromnywleswoey:refine-column-typing
Oct 5, 2020
Merged

Refine typing for Column#1488

alubbe merged 1 commit intoexceljs:masterfromnywleswoey:refine-column-typing
Oct 5, 2020

Conversation

@nywleswoey
Copy link

Summary

This PR is to refine the type definition forColumn. This shouldresolve#1120

Test plan

I derived this by looking atcolumn.js. Then I replacedindex.d.ts innode_modules/exceljs with my changes and the typescript issue from#1120 went away.

_header, _key and width are dependent on defn and therefore maybe undefined.Add comment for properties that are dependent on style. Since style willbe set to an empty object when defn is not provided, these propertiesmay be undefined as well.Change references of Partial<Column> to Column since the undefinedproperties are directly handled inside the Column type definition.
@alubbealubbe requested a review fromSiemienikOctober 5, 2020 06:48
Copy link
Member

@SiemienikSiemienik left a comment

Choose a reason for hiding this comment

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

LGTM

@alubbealubbe merged commita682091 intoexceljs:masterOct 5, 2020
@paliwalgaurav
Copy link

Partial column thing should be there because now it's giving error. I don't want to defineoutlineLevel
Screenshot 2021-02-01 at 7 25 32 PM

@nywleswoey
Copy link
Author

Fixed by Hesamp in4e38ad8

paliwalgaurav reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@SiemienikSiemienikSiemienik approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[BUG] Typescript error from getColumn.eachCell

4 participants

@nywleswoey@paliwalgaurav@Siemienik@alubbe

[8]ページ先頭

©2009-2025 Movatter.jp