mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-14 11:50:40 -07:00
refactor: remove toThenable export
BREAKING CHANGE: `<liquidjs>.toThenable` is removed, use `<liquidjs>.toPromise` instead
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ export { Hash } from './template/tag/hash'
|
||||
export { Value } from './template/value'
|
||||
// eslint-disable-next-line deprecation/deprecation
|
||||
export { _evalToken, evalToken, evalQuotedToken } from './render/expression'
|
||||
export { toPromise, toThenable, toValueSync } from './util/async'
|
||||
export { toPromise, toValueSync } from './util/async'
|
||||
export { defaultOperators, Operators } from './render/operator'
|
||||
export { createTrie, Trie } from './util/operator-trie'
|
||||
export { toValue } from './util/underscore'
|
||||
|
||||
@@ -44,5 +44,3 @@ export function toValueSync<T> (val: Generator<unknown, T, unknown> | T): T {
|
||||
} while (!done)
|
||||
return value
|
||||
}
|
||||
|
||||
export const toThenable = toPromise
|
||||
|
||||
Reference in New Issue
Block a user