@types/buble

  • Version 0.20.5
  • Published
  • 5.64 kB
  • 1 dependency
  • MIT license

Install

npm i @types/buble
yarn add @types/buble
pnpm add @types/buble

Overview

TypeScript definitions for buble

Index

Functions

function transform

transform: (content: string, options?: TransformOptions) => TransformOutput;

    Interfaces

    interface TransformOptions

    interface TransformOptions {}

      property file

      file?: string | undefined;

        property includeContent

        includeContent?: boolean | undefined;

          property jsx

          jsx?: string | undefined;

            property namedFunctionExpressions

            namedFunctionExpressions?: boolean | undefined;

              property objectAssign

              objectAssign?: string | boolean | undefined;

                property source

                source?: string | undefined;

                  property target

                  target?:
                  | {
                  chrome?:
                  | 48
                  | 49
                  | 50
                  | 51
                  | 52
                  | 53
                  | 54
                  | 55
                  | 56
                  | 57
                  | 58
                  | 59
                  | 60
                  | 61
                  | 62
                  | 63
                  | 64
                  | 65
                  | 66
                  | 67
                  | 68
                  | 69
                  | 70
                  | 71
                  | undefined;
                  firefox?:
                  | 43
                  | 44
                  | 45
                  | 46
                  | 47
                  | 48
                  | 49
                  | 50
                  | 51
                  | 52
                  | 53
                  | 54
                  | 55
                  | 56
                  | 57
                  | 58
                  | 59
                  | 60
                  | 61
                  | 62
                  | 63
                  | 64
                  | undefined;
                  safari?: 8 | 9 | 10 | 10.1 | 11 | 11.1 | 12 | undefined;
                  ie?: 8 | 9 | 10 | 11 | undefined;
                  edge?: 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | undefined;
                  node?: 0.1 | 0.12 | 4 | 5 | 6 | 8 | 8.3 | 8.7 | 8.1 | undefined;
                  }
                  | undefined;

                    property transforms

                    transforms?:
                    | {
                    arrow?: boolean | undefined;
                    classes?: boolean | undefined;
                    computedProperty?: boolean | undefined;
                    conciseMethodProperty?: boolean | undefined;
                    dangerousForOf?: boolean | undefined;
                    dangerousTaggedTemplateString?: boolean | undefined;
                    defaultParameter?: boolean | undefined;
                    destructuring?: boolean | undefined;
                    exponentiation?: boolean | undefined;
                    forOf?: boolean | undefined;
                    generator?: boolean | undefined;
                    letConst?: boolean | undefined;
                    modules?: boolean | undefined;
                    numericLiteral?: boolean | undefined;
                    objectRestSpread?: boolean | undefined;
                    parameterDestructuring?: boolean | undefined;
                    reservedProperties?: boolean | undefined;
                    spreadRest?: boolean | undefined;
                    templateString?: boolean | undefined;
                    trailingFunctionCommas?: boolean | undefined;
                    unicodeRegExp?: boolean | undefined;
                    }
                    | undefined;

                      interface TransformOutput

                      interface TransformOutput {}

                        property code

                        code: string;

                          property map

                          map: SourceMap;

                            Package Files (1)

                            Dependencies (1)

                            Dev Dependencies (0)

                            No dev dependencies.

                            Peer Dependencies (0)

                            No peer dependencies.

                            Badge

                            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/buble.

                            • Markdown
                              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/buble)
                            • HTML
                              <a href="https://www.jsdocs.io/package/@types/buble"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>