Skip to content

Commit e57fc3e

Browse files
Add getConfig and remove un-needed property in Cloudinary (#443)
1 parent b20e05f commit e57fc3e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/instance/Cloudinary.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import {CloudinaryVideo} from "../assets/CloudinaryVideo.js";
44

55

66
class Cloudinary {
7-
CloudinaryImage: typeof CloudinaryImage;
8-
cloudinaryConfig: ICloudinaryConfigurations;
7+
private cloudinaryConfig: ICloudinaryConfigurations;
98

109
constructor(cloudinaryConfig?: ICloudinaryConfigurations) {
1110
if (cloudinaryConfig) {
@@ -26,6 +25,10 @@ class Cloudinary {
2625
return this;
2726
}
2827

28+
getConfig() {
29+
return this.cloudinaryConfig;
30+
}
31+
2932
extendConfig():void {
3033
// Future implementation
3134
}

0 commit comments

Comments
 (0)