Skip to content

Commit fd9991a

Browse files
Merge pull request #145 from opencomponents/fix-external-types
Fix external type
2 parents b51e89d + b564c29 commit fd9991a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
type Callback<T> = (err: NodeJS.ErrnoException | null, data: T) => void;
22

33
interface External {
4-
global: string | string[];
4+
global?: string | string[];
55
url: string;
66
}
77
interface ExtendedExternal extends External {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oc-client-browser",
3-
"version": "2.1.3",
3+
"version": "2.1.4",
44
"description": "OC browser client",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)