UNPKG

@daiyam/artifact-vsx-ts

Version:

The configuration to create Visual Studio extensions and publish them on Visual Studio Marketplace and Open VSX Registry.

12 lines (9 loc) 186 B
export type IDisposable = { dispose(): void; }; export function dispose<T extends IDisposable>(disposables: T[]): T[] { for(const d of disposables) { d.dispose(); } return []; }