baklavajs icon indicating copy to clipboard operation
baklavajs copied to clipboard

Cannot import Interfaces in Typescript

Open code-snips opened this issue 1 year ago • 2 comments

Following the example from the docs, typescript cant find these interfaces (it works with @ts-ignore):

import { SliderInterface, IntegerInterface, NumberInterface } from "baklavajs";

vscode suggests the import from a different path:

import { SliderInterface, IntegerInterface, NumberInterface } from "node_modules/@baklavajs/renderer-vue/dist";

i have installed baklavajs 2.4.4

is this issue related to the type override export similar to (https://github.com/newcat/baklavajs/discussions/396)?

code-snips avatar May 14 '24 13:05 code-snips

same here, @baklavajs/renderer-vue type system seems broken

typescript:
    specifier: ^5.2.2
    version: 5.2.2

image


seems like fix in #409

suhli avatar May 22 '24 02:05 suhli

I released v2.4.5 that includes the fix from #409. Please check if that fixes your issue since I am currently unable to reproduce the problem in my projects.

newcat avatar May 25 '24 00:05 newcat