Skip to content

TypeScript factory pattern, and types export suggestion/question. #1520

Answered by devanshj
ollwenjones asked this question in Ideas
Discussion options

You must be logged in to vote

Welcome to open source, where changes and their discussion happen in open and you can use git blame to see them ;) (applies to you too @dai-shi :P)

See description of #772 (which itself links to #715) as to why we've removed those types. The PR and hence v3.7.0 also came with @deprecated jsdocs on how to migrate. The current deprecations are in #1089 but the reasoning remains the same, and they too have the migration in jsdocs.

Perhaps you overlooked but opposed to what you suggest, the changes are very much mentioned in the release notes, see the release notes of v3.7.0. And see the release notes of v4.0.0-rc.0 for further migration.

As for the pattern I don't see any reason why it shoul…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@ollwenjones
Comment options

@devanshj
Comment options

@ollwenjones
Comment options

@devanshj
Comment options

Answer selected by ollwenjones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants