Emitter usage
Emitter usage
Section titled “Emitter usage”- Via the command line
tsp compile . --emit=@typespec/http-client-js
- Via the config
emit: - "@typespec/http-client-js"
The config can be extended with options as follows:
emit: - "@typespec/http-client-js"options: "@typespec/http-client-js": option: value
Emitter options
Section titled “Emitter options”emitter-output-dir
Section titled “emitter-output-dir”Type: absolutePath
Defines the emitter output directory. Defaults to {output-dir}/@typespec/http-client-js
See Configuring output directory for more info
package-name
Section titled “package-name”Type: string
Name of the package as it will be in package.json