mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 14:00:39 -07:00
fix(#108): remove absolute path in emitted d.ts
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
import Liquid from 'src/liquid'
|
||||
import Liquid from '../../liquid'
|
||||
import ITagImplOptions from './itag-impl-options'
|
||||
|
||||
export default interface ITagImpl extends ITagImplOptions {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user