You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on typings for the mapping library openlayers ( https://github.com/openlayers/openlayers ) and especially generating typescript typings out of jsdoc. We had a problem that I was able to solve with the mentioned intersection types ( openlayers/openlayers#11960 ). Sadly they cause parsing errors.
As typescript typing generation and typescript typechecking is something that will probably become even more relevant I think it would be nice to bring more of this into here.
I'd love to look into this issue and create a PR for this as I already have some experience with PEG.js if this is desired.
Another thing I might want to look into at some point is the inline import syntax of typescript. (i.e. * @property {import("./file.js").Type} prop ) as this is also used in openlayers, but is solved with complex rewrite rules. This would be for another time though.
https://www.typescriptlang.org/docs/handbook/unions-and-intersections.html
The text was updated successfully, but these errors were encountered: