-
Notifications
You must be signed in to change notification settings - Fork 13
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
Migrate typings away from DefinitelyTyped #1
Comments
For reference, DT or DefinitelyTyped is this repository: https://github.com/DefinitelyTyped/DefinitelyTyped |
+1 for taking control
If not, we deprecate. |
I think the safest option would be to make this repo a clone of DT where we accept (and discuss) changes to the RDF/JS typings, and push to the upstream DT when we reach a consensus. While I agree that At the moment I don't know of any specific problems that would occur, but I can for example imagine that there could be linting tools that have special behaviour when they encounter |
On a closer look maybe it would not be as troublesome, at least for package consumers. Right now the types package pretends to describe I think that the path of least resistance is to revive that package and remove The issue I found is on the end of any |
Hey all, I think reviving the However this could lead to incompatibility if we make updates to the new types and a package is using the old ones. Thus I think "ripping the band-aid off" might be thee best option. That could entail either
Regardless, I think its great that we're moving to our own repo so we can keep the types consistent with the spec and implement more consistent versioning. |
The RDFJS typings should be maintained and published by the RDFJS organization. Some of the issues with hosting the typings on DefinitelyTyped are:
Several libraries are currently using the de facto
@types/rdf-js
package for importing RDFJS interface types. Open question is whether or not DT/TypeScript will allow upgrading this package so that it simply acts as a proxy for new@rdfjs/types
package by importing and exporting it.The text was updated successfully, but these errors were encountered: