mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 03:46:07 +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:
2
html-webpack-plugin/html-webpack-plugin.d.ts
vendored
2
html-webpack-plugin/html-webpack-plugin.d.ts
vendored
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Simon Hartcher <http://github.com/deevus>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
///<reference path="../webpack/webpack.d.ts" />
|
||||
///<reference types="webpack" />
|
||||
|
||||
declare module "html-webpack-plugin" {
|
||||
import {Plugin} from "webpack";
|
||||
|
||||
19
html-webpack-plugin/tsconfig.json
Normal file
19
html-webpack-plugin/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": [
|
||||
"html-webpack-plugin.d.ts",
|
||||
"html-webpack-plugin-tests.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user