gulp-typescript

  • Version 6.0.0-alpha.1
  • Published
  • 81.4 kB
  • 6 dependencies
  • MIT license

Install

npm i gulp-typescript
yarn add gulp-typescript
pnpm add gulp-typescript

Overview

A typescript compiler for gulp with incremental compilation support.

Index

Functions

function compile

compile: typeof compile;

    function createProject

    createProject: {
    (tsConfigFileName: string, settings?: Settings): Project;
    (settings?: Settings): _project.Project;
    };

      function filter

      filter: (...args: any[]) => void;

        Interfaces

        interface Settings

        interface Settings {}

          property allowNonTsExtensions

          allowNonTsExtensions?: boolean;

            property charset

            charset?: string;

              property codepage

              codepage?: number;

                property declaration

                declaration?: boolean;

                  property declarationFiles

                  declarationFiles?: boolean;

                    property experimentalDecorators

                    experimentalDecorators?: boolean;

                      property getCustomTransformers

                      getCustomTransformers?: GetCustomTransformers;

                        property isolatedModules

                        isolatedModules?: boolean;

                          property jsx

                          jsx?: string | number;

                            property lib

                            lib?: string[];

                              property locale

                              locale?: string;

                                property mapRoot

                                mapRoot?: string;

                                  property module

                                  module?: string | ts.ModuleKind;

                                    property moduleResolution

                                    moduleResolution?: string | number;

                                      property noEmitOnError

                                      noEmitOnError?: boolean;

                                        property noExternalResolve

                                        noExternalResolve?: boolean;

                                          property noImplicitAny

                                          noImplicitAny?: boolean;

                                            property noLib

                                            noLib?: boolean;

                                              property noLibCheck

                                              noLibCheck?: boolean;

                                                property noResolve

                                                noResolve?: boolean;

                                                  property out

                                                  out?: string;

                                                    property outDir

                                                    outDir?: string;

                                                      property outFile

                                                      outFile?: string;

                                                        property preserveConstEnums

                                                        preserveConstEnums?: boolean;

                                                          property removeComments

                                                          removeComments?: boolean;

                                                            property rootDir

                                                            rootDir?: string;

                                                              property rootDirs

                                                              rootDirs?: any;

                                                                property sortOutput

                                                                sortOutput?: boolean;

                                                                  property sourceRoot

                                                                  sourceRoot?: string;

                                                                    property suppressImplicitAnyIndexErrors

                                                                    suppressImplicitAnyIndexErrors?: boolean;

                                                                      property target

                                                                      target?: string | ts.ScriptTarget;

                                                                        property typescript

                                                                        typescript?: typeof ts;

                                                                          index signature

                                                                          [name: string]: any;

                                                                            Type Aliases

                                                                            type CompileStream

                                                                            type CompileStream = _project.ICompileStream;

                                                                              type Project

                                                                              type Project = _project.Project;

                                                                                Package Files (1)

                                                                                Dependencies (6)

                                                                                Dev Dependencies (14)

                                                                                Peer Dependencies (1)

                                                                                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/gulp-typescript.

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