mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Add gulp-dtsm.d.ts
This commit is contained in:
11
gulp-dtsm/gulp-dtsm-tests.ts
Normal file
11
gulp-dtsm/gulp-dtsm-tests.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/// <reference path="./gulp-dtsm.d.ts" />
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
/// <reference path="../gulp/gulp.d.ts" />
|
||||
|
||||
import dtsm = require('gulp-dtsm');
|
||||
import gulp = require('gulp');
|
||||
|
||||
var stream: NodeJS.WritableStream = dtsm();
|
||||
|
||||
gulp.task('dtsm', () => gulp.src('./dtsm.json').pipe(dtsm()));
|
||||
|
||||
13
gulp-dtsm/gulp-dtsm.d.ts
vendored
Normal file
13
gulp-dtsm/gulp-dtsm.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// Type definitions for gulp-dtsm 0.0.0
|
||||
// Project: https://github.com/9joneg/gulp-dtsm
|
||||
// Definitions by: Aya Morisawa <https://github.com/AyaMorisawa>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
declare module "gulp-dtsm" {
|
||||
function dtsm(): NodeJS.WritableStream;
|
||||
|
||||
export = dtsm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user