@cenk1cenk2/oclif-common 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -146,7 +146,7 @@ declare class LockerService<LockFile extends LockableData = LockableData> {
146
146
  hasLock(): boolean;
147
147
  hasUnlock(): boolean;
148
148
  addLock<T extends LockableData = LockableData>(...data: LockData<T>[]): void;
149
- addUnlock(data?: UnlockData[]): void;
149
+ addUnlock(...data: UnlockData[]): void;
150
150
  lockAll(): Promise<void>;
151
151
  unlockAll(): Promise<void>;
152
152
  lock<T extends LockableData = LockableData>(...data: LockData<T>[]): Promise<void>;
package/dist/index.js CHANGED
@@ -746,7 +746,7 @@ var LockerService = class {
746
746
  addLock(...data) {
747
747
  this.toLock = [...this.toLock, ...data];
748
748
  }
749
- addUnlock(data) {
749
+ addUnlock(...data) {
750
750
  this.toUnlock = [...this.toUnlock, ...data];
751
751
  }
752
752
  async lockAll() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/oclif-common",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Oclif common package for oclif2 projects.",
5
5
  "repository": "https://gitlab.kilic.dev/libraries/oclif-tools",
6
6
  "author": {