mirror of
https://github.com/denoland/deno.git
synced 2025-07-23 05:05:08 +00:00
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
This commit is contained in:
parent
3ac642c183
commit
e435c2be15
87 changed files with 0 additions and 2025 deletions
|
@ -70,13 +70,11 @@ interface CompilerRequestRuntimeTranspile {
|
|||
options?: string;
|
||||
}
|
||||
|
||||
/** The format of the work message payload coming from the privileged side */
|
||||
type CompilerRequest =
|
||||
| CompilerRequestCompile
|
||||
| CompilerRequestRuntimeCompile
|
||||
| CompilerRequestRuntimeTranspile;
|
||||
|
||||
/** The format of the result sent back when doing a compilation. */
|
||||
interface CompileResult {
|
||||
emitSkipped: boolean;
|
||||
diagnostics?: Diagnostic;
|
||||
|
@ -89,8 +87,6 @@ type RuntimeCompileResult = [
|
|||
|
||||
type RuntimeBundleResult = [undefined | DiagnosticItem[], string];
|
||||
|
||||
/** `Compile` are requests from the internals of Deno; eg. used when
|
||||
* the `run` or `bundle` subcommand is used. */
|
||||
async function compile(
|
||||
request: CompilerRequestCompile
|
||||
): Promise<CompileResult> {
|
||||
|
@ -186,14 +182,6 @@ async function compile(
|
|||
return result;
|
||||
}
|
||||
|
||||
/**`RuntimeCompile` are requests from a runtime user; it can be both
|
||||
* "compile" and "bundle".
|
||||
*
|
||||
* The process is similar to a request from the privileged
|
||||
* side, but unline `compile`, `runtimeCompile` allows to specify
|
||||
* additional file mappings which can be used instead of relying
|
||||
* on Deno defaults.
|
||||
*/
|
||||
async function runtimeCompile(
|
||||
request: CompilerRequestRuntimeCompile
|
||||
): Promise<RuntimeCompileResult | RuntimeBundleResult> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue