0.0.36 • Published 2 years ago
@types/gulp-ng-annotate v0.0.36
Installation
npm install --save @types/gulp-ng-annotate
Summary
This package contains type definitions for gulp-ng-annotate (https://github.com/Kagami/gulp-ng-annotate).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-ng-annotate.
index.d.ts
// Type definitions for gulp-ng-annotate
// Project: https://github.com/Kagami/gulp-ng-annotate
// Definitions by: Qubo <https://github.com/tkQubo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
declare namespace ngAnnotate {
interface NgAnnotate {
(option?: Option): NodeJS.ReadWriteStream;
}
//TODO: Should be on ng-annotate module
interface Option {
/**
* Add annotations where non-existing
*/
add?: boolean | undefined;
/**
* Remove all existing annotations
*/
remove?: boolean | undefined;
/**
* List optional matchers
*/
list?: boolean | undefined;
/**
* Restrict matching further or to expand matching
*/
regexp?: string | undefined;
/**
* Enable optional matcher
*/
enable?: boolean | undefined;
/**
* Output '$scope' instead of "$scope".
*/
single_quotes?: boolean | undefined;
/**
* Rename providers (services, factories, controllers, etc.) with a new name when declared and referenced through annotation
*/
rename?: RenameOption[] | undefined;
/**
* Load a user plugin with the provided path
*/
plugin?: any[] | undefined;
}
interface RenameOption {
from: string;
to: string;
}
}
declare var ngAnnotate: ngAnnotate.NgAnnotate;
export = ngAnnotate;
Additional Details
- Last updated: Thu, 08 Jul 2021 14:22:31 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by Qubo.
0.0.34
2 years ago
0.0.35
2 years ago
0.0.36
2 years ago
0.0.33
2 years ago
0.0.32
4 years ago
0.0.31
8 years ago
0.0.30
8 years ago
0.0.29
9 years ago
0.0.28
9 years ago
0.0.27-alpha
9 years ago
0.0.26-alpha
9 years ago
0.0.25-alpha
9 years ago
0.0.24-alpha
9 years ago
0.0.23-alpha
9 years ago
0.0.22-alpha
9 years ago
0.0.21-alpha
9 years ago
0.0.16-alpha
9 years ago
0.0.15-alpha
9 years ago