Skip to content

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
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Declared inside

Mode

Properties

abstract member mode: Mode option with get, set

Possible 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

Only when mode is 'transform', if true, a source map will be generated for the transformed code.

abstract member sourceUrl: string option with get, set

Specifies the source url used in the source map.

Methods

static member Create (?mode: Mode, ?sourceMap: bool, ?sourceUrl: string) : StripTypeScriptTypesOptions