Add evaluation helpers (#33)

* Add evaluation helpers

* Make some helpers only available server-side

They don't make any sense on the client side.

* Fork the right thing
This commit is contained in:
Asher
2019-02-22 15:56:29 -06:00
committed by GitHub
parent de3fbd689f
commit 8b8bef015e
17 changed files with 306 additions and 247 deletions

View File

@@ -1,5 +1,3 @@
import { IDisposable } from "@coder/disposable";
/**
* Return true if we're in a browser environment (including web workers).
*/
@@ -84,7 +82,3 @@ export const parse = (arg: string): any => { // tslint:disable-line no-any
return result;
};
export interface Disposer extends IDisposable {
onDidDispose: (cb: () => void) => void;
}