add hw2
This commit is contained in:
15
node_modules/langium/lib/utils/disposable.js
generated
vendored
Normal file
15
node_modules/langium/lib/utils/disposable.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/******************************************************************************
|
||||
* Copyright 2021 TypeFox GmbH
|
||||
* This program and the accompanying materials are made available under the
|
||||
* terms of the MIT License, which is available in the project root.
|
||||
******************************************************************************/
|
||||
export var Disposable;
|
||||
(function (Disposable) {
|
||||
function create(callback) {
|
||||
return {
|
||||
dispose: async () => await callback()
|
||||
};
|
||||
}
|
||||
Disposable.create = create;
|
||||
})(Disposable || (Disposable = {}));
|
||||
//# sourceMappingURL=disposable.js.map
|
||||
Reference in New Issue
Block a user