diff --git a/README.md b/README.md index 958d503..de363df 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ You can use this package to verify your API usage is compatible with a range of ```ts /// -declare var OC: Nextcloud.v16.OC | Nextcloud.v17.OC | Nextcloud.v18.OC | Nextcloud.v19.OC; +declare var OC: Nextcloud.v17.OC | Nextcloud.v18.OC | Nextcloud.v19.OC | Nextcloud.v20.OC; OC.L10N.translate("app", "text") ``` diff --git a/lib/index.d.ts b/lib/index.d.ts index 6413817..d533175 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -2,3 +2,4 @@ /// /// /// +/// diff --git a/lib/v20/OC.d.ts b/lib/v20/OC.d.ts new file mode 100644 index 0000000..daad4ac --- /dev/null +++ b/lib/v20/OC.d.ts @@ -0,0 +1,15 @@ +declare namespace Nextcloud.v20 { + + interface OC extends Nextcloud.v19.OC { + + } + + interface OCP extends Nextcloud.v19.OCP { + + } + + interface WindowWithGlobals extends Nextcloud.Common.DayMonthConstants, Window { + + } + +}