Skip to content

Commit

Permalink
fix: Use correct exported name /ocs instead of /types
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Feb 3, 2024
1 parent 658ae18 commit 2a25550
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You can use this package to verify your API usage is compatible with a range of
```ts
/// <reference types="@nextcloud/typings" />

declare var OC: Nextcloud.v25.OC | Nextcloud.v26.OC | Nextcloud.v27.OC;
declare var OC: Nextcloud.v26.OC | Nextcloud.v27.OC | Nextcloud.v28.OC;

OC.L10N.translate("app", "text")
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"typings": "dist/index.d.ts",
"exports": {
".": "./dist/index.d.ts",
"./types": "./dist/types.d.ts"
"./ocs": "./dist/ocs.d.ts"
},
"scripts": {
"build": "tsc",
Expand Down

0 comments on commit 2a25550

Please sign in to comment.