@cenk1cenk2/oclif-common 6.3.3 → 6.3.4

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -255,7 +255,7 @@ declare class LockerService<LockFile extends LockableData = LockableData> {
255
255
  constructor(logger: LoggerService, fs: FileSystemService, parser: ParserService, options: LockerServiceOptions);
256
256
  hasLock(): boolean;
257
257
  hasUnlock(): boolean;
258
- addLock(...data: LockData<LockFile>[]): void;
258
+ addLock<T extends LockableData = LockFile>(...data: LockData<T>[]): void;
259
259
  addUnlock(...data: UnlockData[]): void;
260
260
  applyLockAll(lock: LockFile): Promise<LockFile>;
261
261
  lockAll(): Promise<void>;
@@ -263,8 +263,8 @@ declare class LockerService<LockFile extends LockableData = LockableData> {
263
263
  unlockAll(): Promise<void>;
264
264
  all(): Promise<void>;
265
265
  applyAll(lock: LockFile): Promise<LockFile>;
266
- applyLock(lock: LockFile, ...data: LockData<LockFile>[]): Promise<LockFile>;
267
- lock(...data: LockData<LockFile>[]): Promise<LockFile>;
266
+ applyLock<T extends LockableData = LockFile>(lock: LockFile, ...data: LockData<T>[]): Promise<LockFile>;
267
+ lock<T extends LockableData = LockFile>(...data: LockData<T>[]): Promise<LockFile>;
268
268
  applyUnlock(lock: LockFile, ...data: UnlockData[]): Promise<LockFile>;
269
269
  unlock(...data: UnlockData[]): Promise<LockFile | undefined>;
270
270
  read(): Promise<LockFile>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/oclif-common",
3
- "version": "6.3.3",
3
+ "version": "6.3.4",
4
4
  "description": "Oclif common package for oclif2 projects.",
5
5
  "repository": "https://gitlab.kilic.dev/libraries/oclif-tools",
6
6
  "type": "module",