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:
Andy Hanson
2016-09-14 12:12:01 -07:00
parent 84a760de85
commit 28ef3d201b
474 changed files with 5552 additions and 3078 deletions

View File

@@ -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';

View File

@@ -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;

View 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"
]
}