GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Type definitions for matrixFrom* by gwhitney · Pull Request #3371 · josdejong/mathjs

Conversation

@gwhitney

@gwhitney gwhitney commented Jan 29, 2025

Copy link
Copy Markdown
Collaborator

Replaces #3146.

I couldn't figure out how to push a commit to the source branch of #3146, so I have simply recreated the PR from a branch in my fork, with one additional commit updating the type declarations and adding tests as requested in the review for #3146. Should hopefully be ready to merge.

Resolves #3115.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Hudsxn and others added 7 commits January 29, 2024 05:36
@Hudsxn
Addressed silentmissile's comment in josdejong#3125
e71b8fb
@Hudsxn
Added method overload to index.d.ts, have to revert commit due to cha…
16cb78d
…nges to package-lock.json with using npm install to run the unit tests & lint tests
@Hudsxn
Merge branch 'develop' into develop
10657e5
@Hudsxn
Type definition missing for matrixFrom* josdejong#3115
7f0a8a2
@Hudsxn
Merge branch 'josdejong:develop' into develop
02fd907
@gwhitney
Merge branch 'develop' into develop
699605c
@gwhitney
fix: Update types and add tests as requested by review
40e18c7
@gwhitney gwhitney mentioned this pull request Jan 29, 2025
Type definition missing for matrixFrom* #3115 #3146
Closed
@gwhitney
chore: lint fix
9de3589
@gwhitney

gwhitney commented Jan 29, 2025

Copy link
Copy Markdown
Collaborator Author

The lint errors in this PR look very strange to me; they seem to be generated by prettier. Did mathjs recently change to prettier from eslint, or did I accidentally pick up some configuration change by trying to build on Hudsxn's version of develop? @josdejong please make sure all is well with lint before merging, thanks.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@josdejong

josdejong commented Jan 29, 2025

Copy link
Copy Markdown
Owner

Thanks Glen!

mathjs currently has an eslint setup which uses prettier under the hood, see https://github.com/josdejong/mathjs/blob/develop/.eslintrc.cjs#L40. I find it a bit confusing setup, maybe some day we can replace it with biome for example, I kind of have the idea that the development around eslint is stalling, I regularly have issues not being able to update because certain eslint plugins require an old version of eslint. Anyway, that's for another day.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@josdejong
josdejong merged commit b56fbcb into josdejong:develop Jan 29, 2025
@josdejong

josdejong commented Jan 30, 2025

Copy link
Copy Markdown
Owner

Published now in v14.2.0.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Type definition missing for matrixFrom*

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@gwhitney @josdejong @Hudsxn
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.