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

fix: Do not export the declaration of window.OC #485

Merged
merged 1 commit into from Jun 7, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jun 6, 2023

Currently the distribution files contain the declaration of the window.OC variable which is then bound to that specific value.
This will lead to error for apps written in typescript if they want to declare it differently (e.g. only support NC25).

With this PR the declaration will not be included, as it is not necessary for the typings of this library. And additionally the typings are updated.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added bug Something isn't working 3. to review labels Jun 6, 2023
@skjnldsv skjnldsv merged commit 58b95f8 into master Jun 7, 2023
4 of 5 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix/global-ocp-declaration branch June 7, 2023 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants