diff --git a/index.d.ts b/index.d.ts index b1f2ecb..ffb9112 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,7 +1,7 @@ type Callback = (err: NodeJS.ErrnoException | null, data: T) => void; interface External { - global: string | string[]; + global?: string | string[]; url: string; } interface ExtendedExternal extends External { diff --git a/package.json b/package.json index 8fea77c..68e7715 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oc-client-browser", - "version": "2.1.3", + "version": "2.1.4", "description": "OC browser client", "main": "index.js", "types": "index.d.ts",