mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-25 12:41:50 +00:00
CLI: Move OptionDescription to utils/options so types agree (#612)
This commit is contained in:
committed by
Daniel Wirtz
parent
5269a6b9c4
commit
3ed76a97f0
13
cli/asc.d.ts
vendored
13
cli/asc.d.ts
vendored
@ -1,3 +1,6 @@
|
||||
import { OptionDescription } from "./util/options";
|
||||
export { OptionDescription };
|
||||
|
||||
/** Whether this is a webpack bundle or not. */
|
||||
export const isBundle: boolean;
|
||||
|
||||
@ -7,16 +10,6 @@ export const isDev: boolean;
|
||||
/** AssemblyScript version. */
|
||||
export const version: string;
|
||||
|
||||
/** Command line option description. */
|
||||
export interface OptionDescription {
|
||||
/** Textual description. */
|
||||
description: string | string[];
|
||||
/** Option type, e.g. `string`. */
|
||||
type: string;
|
||||
/** Option aliases, if any. */
|
||||
aliases?: string[];
|
||||
}
|
||||
|
||||
/** Available CLI options. */
|
||||
export const options: { [key: string]: OptionDescription };
|
||||
|
||||
|
Reference in New Issue
Block a user