Skip to content

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

Merged
skjnldsv merged 1 commit into
masterfrom
fix/global-ocp-declaration
Jun 7, 2023
Merged

fix: Do not export the declaration of window.OC#485
skjnldsv merged 1 commit into
masterfrom
fix/global-ocp-declaration

Conversation

@susnux

@susnux susnux commented Jun 6, 2023

Copy link
Copy Markdown
Contributor

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
@susnux susnux requested review from ChristophWurst and skjnldsv June 6, 2023 21:09
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.

2 participants