mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Remove <reference path="../xxx/xxx.d.ts"> from definitions files and replace it with import * as Xxx from "xxx" or <reference types="xxx"/>
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
/// <reference path="../gulp/gulp.d.ts"/>
|
||||
/// <reference path="../gulp-angular-templatecache/gulp-angular-templatecache.d.ts"/>
|
||||
|
||||
import * as gulp from 'gulp';
|
||||
import * as templateCache from 'gulp-angular-templatecache';
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Aman Mahajan <https://github.com/amanmahajan7>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts"/>
|
||||
/// <reference types="node"/>
|
||||
|
||||
declare module "gulp-angular-templatecache" {
|
||||
function templatecache(): NodeJS.ReadWriteStream;
|
||||
|
||||
19
gulp-angular-templatecache/tsconfig.json
Normal file
19
gulp-angular-templatecache/tsconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"gulp-angular-templatecache.d.ts",
|
||||
"gulp-angular-templatecache-tests.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user