Improve on TypeScript definitions to relfect support for multiple data types
See original GitHub issueCan’t one create a matrix of custom elements, e.g. objects, like {type:'something'}
? I noticed that only numbers are supported
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Documentation - Everyday Types - TypeScript
In this chapter, we'll cover some of the most common types of values you'll find in JavaScript code, and explain the corresponding ways...
Read more >Improving Workers TypeScript support: accuracy, ergonomics ...
Today, we're excited to announce the next major release of Workers TypeScript definitions with a bunch of improvements, ...
Read more >How To Create Custom Types in TypeScript - DigitalOcean
This section will go through two ways that you can compose types together. These will use the union operator to pass any data...
Read more >Understanding and using interfaces in TypeScript
TypeScript has taken the JavaScript world by storm, allowing teams to work smarter by adding robust typing features. These typing features ...
Read more >The repository for high quality TypeScript type definitions.
See more in the handbook. For an npm package "foo", typings for it will be at "@types/foo". If you can't find your package ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks Jason for picking this up! Maybe it’s possible to define a
MathScalar
type, which is all types like number and Unit, except matrix types?I’ve raised a new issue and hours later find this one (didn’t searched the correct key words).
I suggest to modify the
@types/mathjs/index.d.ts
on line 24to
I’ve also noticed another potential typo on line 2974:
should be