fix(#108): remove absolute path in emitted d.ts

This commit is contained in:
harttle
2019-02-26 00:43:30 +08:00
parent 75b3e15ca9
commit 53a835ab54
103 changed files with 275 additions and 343 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
import { isNil, isString } from 'src/util/underscore'
import { isDrop } from 'src/drop/idrop'
import { EmptyDrop } from 'src/drop/empty-drop'
import { isNil, isString } from '../util/underscore'
import { isDrop } from '../drop/idrop'
import { EmptyDrop } from '../drop/empty-drop'
export class BlankDrop extends EmptyDrop {
equals (value: any) {
+2 -2
View File
@@ -1,7 +1,7 @@
import { Drop } from './drop'
import { IComparable } from './icomparable'
import { isObject, isString, isArray } from 'src/util/underscore'
import { IDrop } from 'src/drop/idrop'
import { isObject, isString, isArray } from '../util/underscore'
import { IDrop } from '../drop/idrop'
export class EmptyDrop extends Drop implements IDrop, IComparable {
equals (value: any) {
+1 -1
View File
@@ -1,4 +1,4 @@
import { isFunction } from 'src/util/underscore'
import { isFunction } from '../util/underscore'
export interface IComparable {
equals: (rhs: any) => boolean
+1 -1
View File
@@ -1,5 +1,5 @@
import { Drop } from './drop'
import { isFunction } from 'src/util/underscore'
import { isFunction } from '../util/underscore'
export interface IDrop {
value(): any
+3 -3
View File
@@ -1,8 +1,8 @@
import { Drop } from './drop'
import { IComparable } from './icomparable'
import { isNil } from 'src/util/underscore'
import { IDrop, isDrop } from 'src/drop/idrop'
import { BlankDrop } from 'src/drop/blank-drop'
import { isNil } from '../util/underscore'
import { IDrop, isDrop } from '../drop/idrop'
import { BlankDrop } from '../drop/blank-drop'
export class NullDrop extends Drop implements IDrop, IComparable {
equals (value: any) {