StripTypeScriptTypesOptions
[<Interface>]
type StripTypeScriptTypesOptions =
abstract member mode: Mode option with get, set
abstract member sourceMap: bool option with get, set
abstract member sourceUrl: string option with get, set
static member Create (?mode: Mode, ?sourceMap: bool, ?sourceUrl: string) : StripTypeScriptTypesOptions| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
Declared inside
Mode |
Properties
abstract member mode: Mode option with get, set
abstract member mode: Mode option with get, setPossible values are:
'strip'Only strip type annotations without performing the transformation of TypeScript features.'transform'Strip type annotations and transform TypeScript features to JavaScript.
abstract member sourceMap: bool option with get, set
abstract member sourceMap: bool option with get, setOnly when mode is 'transform', if true, a source map will be generated for the transformed code.
abstract member sourceUrl: string option with get, set
abstract member sourceUrl: string option with get, setSpecifies the source url used in the source map.
Methods
static member Create (?mode: Mode, ?sourceMap: bool, ?sourceUrl: string) : StripTypeScriptTypesOptions