Open mozeryansky opened 9 months ago
I would like to reference this type, can it be exported? https://github.com/insane-jo/talib-wasm/blob/master/build/main.d.ts#L46
I need to use this class synchronously. To make it work like https://github.com/hackape/talib.js, I'm doing this:
import { default as _talib, TAFunctions } from 'talib-wasm' export let talib: TAFunctions export async function init() { talib = await _talib }
import { init, talib } from '@/lib/talib' ... await init() ... talib.ADD // sync
I would like to reference this type, can it be exported? https://github.com/insane-jo/talib-wasm/blob/master/build/main.d.ts#L46
I need to use this class synchronously. To make it work like https://github.com/hackape/talib.js, I'm doing this: