Skip to content
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

Deprecate model fn; fix type for fn args #312

Merged
merged 2 commits into from
Jul 19, 2024
Merged

Conversation

craigbeck
Copy link
Contributor

With typescript and modern tooling, named functions have some drawbacks when compared to using functions directly, so marking as deprecated.

Changed StartFnParam type to just use undefined (was found as issue removing named functions in some production code)

src/Model/fn.ts Outdated Show resolved Hide resolved
@craigbeck craigbeck merged commit 566091d into master Jul 19, 2024
4 checks passed
@craigbeck craigbeck deleted the deprecate-model-fn branch July 19, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants