refactor: remove toThenable export

BREAKING CHANGE: `<liquidjs>.toThenable` is removed, use `<liquidjs>.toPromise` instead
This commit is contained in:
Jun Yang
2022-11-27 14:04:01 +08:00
parent b115077e12
commit ffefd91fbc
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -44,5 +44,3 @@ export function toValueSync<T> (val: Generator<unknown, T, unknown> | T): T {
} while (!done)
return value
}
export const toThenable = toPromise