From d2337dfc3fd4b03b01204efa0256a517c4b78697 Mon Sep 17 00:00:00 2001 From: Kaorun343 Date: Tue, 6 Sep 2016 22:28:17 +0900 Subject: [PATCH] remove ".d" from paths (#3607) --- types/index.d.ts | 2 +- types/options.d.ts | 4 ++-- types/plugin.d.ts | 2 +- types/test/options-test.ts | 5 ++--- types/test/plugin-test.ts | 4 ++-- types/test/vue-test.ts | 2 +- types/vnode.d.ts | 2 +- types/vue.d.ts | 4 ++-- 8 files changed, 12 insertions(+), 13 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index e0278b29c8e..4230f81d6e9 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -import {Vue as _Vue} from "./vue.d"; +import {Vue as _Vue} from "./vue"; // `Vue` in `export = Vue` must be a namespace declare namespace Vue {} // TS cannot merge imported class with namespace, declare a subclass to bypass diff --git a/types/options.d.ts b/types/options.d.ts index efa536cb964..2ce0718f32a 100644 --- a/types/options.d.ts +++ b/types/options.d.ts @@ -1,5 +1,5 @@ -import { Vue } from "./vue.d"; -import { VNode, VNodeData, VNodeDirective } from "./vnode.d"; +import { Vue } from "./vue"; +import { VNode, VNodeData, VNodeDirective } from "./vnode"; type Constructor = { new (...args: any[]): any; diff --git a/types/plugin.d.ts b/types/plugin.d.ts index de8aa0fe459..5741f862c55 100644 --- a/types/plugin.d.ts +++ b/types/plugin.d.ts @@ -1,4 +1,4 @@ -import { Vue as _Vue } from "./vue.d"; +import { Vue as _Vue } from "./vue"; export type PluginFunction = (Vue: typeof _Vue, options?: T) => void; diff --git a/types/test/options-test.ts b/types/test/options-test.ts index f7e7f35bebb..2b41c0d2234 100644 --- a/types/test/options-test.ts +++ b/types/test/options-test.ts @@ -1,6 +1,5 @@ -import Vue = require("../index.d"); -import { ComponentOptions } from "../options.d"; -import { FunctionalComponentOptions } from "../options.d"; +import Vue = require("../index"); +import { ComponentOptions, FunctionalComponentOptions } from "../options"; interface Component extends Vue { a: number; diff --git a/types/test/plugin-test.ts b/types/test/plugin-test.ts index bf6318f9c33..aa59f4201f7 100644 --- a/types/test/plugin-test.ts +++ b/types/test/plugin-test.ts @@ -1,5 +1,5 @@ -import Vue = require("../index.d"); -import { PluginFunction, PluginObject } from "../plugin.d"; +import Vue = require("../index"); +import { PluginFunction, PluginObject } from "../plugin"; class Option { prefix: string; diff --git a/types/test/vue-test.ts b/types/test/vue-test.ts index a1e7df98530..a3c6f5a97ef 100644 --- a/types/test/vue-test.ts +++ b/types/test/vue-test.ts @@ -1,4 +1,4 @@ -import Vue = require("../index.d"); +import Vue = require("../index"); class Test extends Vue { testProperties() { diff --git a/types/vnode.d.ts b/types/vnode.d.ts index 0680ab8b528..959252e8cbd 100644 --- a/types/vnode.d.ts +++ b/types/vnode.d.ts @@ -1,4 +1,4 @@ -import { Vue } from "./vue.d"; +import { Vue } from "./vue"; export type VNodeChildren = VNodeChildrenArrayContents | string; export interface VNodeChildrenArrayContents { diff --git a/types/vue.d.ts b/types/vue.d.ts index 847640a5419..ac2039fe47c 100644 --- a/types/vue.d.ts +++ b/types/vue.d.ts @@ -6,8 +6,8 @@ import { DirectiveOptions, DirectiveFunction } from "./options.d"; -import { VNode, VNodeData, VNodeChildren } from "./vnode.d"; -import { PluginFunction, PluginObject } from "./plugin.d"; +import { VNode, VNodeData, VNodeChildren } from "./vnode"; +import { PluginFunction, PluginObject } from "./plugin"; export declare class Vue {