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
+2 -2
View File
@@ -1,5 +1,5 @@
import { evalValue } from 'src/render/syntax'
import Scope from 'src/scope/scope'
import { evalValue } from '../../render/syntax'
import Scope from '../../scope/scope'
import { FilterImpl } from './filter-impl'
export default class Filter {
+3 -3
View File
@@ -1,6 +1,6 @@
import Template from 'src/template/template'
import ITemplate from 'src/template/itemplate'
import HTMLToken from 'src/parser/html-token'
import Template from '../template/template'
import ITemplate from '../template/itemplate'
import HTMLToken from '../parser/html-token'
export default class extends Template<HTMLToken> implements ITemplate {
str: string
+2 -2
View File
@@ -1,5 +1,5 @@
import Scope from 'src/scope/scope'
import Token from 'src/parser/token'
import Scope from '../scope/scope'
import Token from '../parser/token'
export default interface ITemplate {
token: Token;
+5 -5
View File
@@ -1,9 +1,9 @@
import Value from './value'
import { stringify } from 'src/util/underscore'
import Template from 'src/template/template'
import ITemplate from 'src/template/itemplate'
import Scope from 'src/scope/scope'
import OutputToken from 'src/parser/output-token'
import { stringify } from '../util/underscore'
import Template from '../template/template'
import ITemplate from '../template/itemplate'
import Scope from '../scope/scope'
import OutputToken from '../parser/output-token'
export default class Output extends Template<OutputToken> implements ITemplate {
value: Value
+3 -3
View File
@@ -1,6 +1,6 @@
import { hashCapture } from 'src/parser/lexical'
import { evalValue } from 'src/render/syntax'
import Scope from 'src/scope/scope'
import { hashCapture } from '../../parser/lexical'
import { evalValue } from '../../render/syntax'
import Scope from '../../scope/scope'
/**
* Key-Value Pairs Representing Tag Arguments
+4 -4
View File
@@ -1,7 +1,7 @@
import Scope from 'src/scope/scope'
import TagToken from 'src/parser/tag-token'
import Token from 'src/parser/token'
import Hash from 'src/template/tag/hash'
import Scope from '../../scope/scope'
import TagToken from '../../parser/tag-token'
import Token from '../../parser/token'
import Hash from '../../template/tag/hash'
import ITagImpl from './itag-impl'
export default interface ITagImplOptions {
+1 -1
View File
@@ -1,4 +1,4 @@
import Liquid from 'src/liquid'
import Liquid from '../../liquid'
import ITagImplOptions from './itag-impl-options'
export default interface ITagImpl extends ITagImplOptions {
+8 -8
View File
@@ -1,14 +1,14 @@
import { create, stringify } from 'src/util/underscore'
import assert from 'src/util/assert'
import Scope from 'src/scope/scope'
import { create, stringify } from '../../util/underscore'
import assert from '../../util/assert'
import Scope from '../../scope/scope'
import ITagImpl from './itag-impl'
import ITagImplOptions from './itag-impl-options'
import Liquid from 'src/liquid'
import Liquid from '../../liquid'
import Hash from './hash'
import Template from 'src/template/template'
import ITemplate from 'src/template/itemplate'
import TagToken from 'src/parser/tag-token'
import Token from 'src/parser/token'
import Template from '../../template/template'
import ITemplate from '../../template/itemplate'
import TagToken from '../../parser/tag-token'
import Token from '../../parser/token'
export default class Tag extends Template<TagToken> implements ITemplate {
name: string
+2 -2
View File
@@ -1,6 +1,6 @@
import { evalExp } from 'src/render/syntax'
import { evalExp } from '../render/syntax'
import Filter from './filter/filter'
import Scope from 'src/scope/scope'
import Scope from '../scope/scope'
enum ParseState {
INIT = 0,