-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
i'm working an complicated build pipeline where i added solid-refresh babel plugin, and encountered the following issue when solid-primitives/refs is processed:
solid-primitives/refs/refs.ts(98,9): Property 'ref' of exported interface has or is using private name 'Ref'.comparing the generated files, you can see the difference:
w/out solid-refresh:
export type Ref<T> = T | ((el: T) => void) | undefined;
export interface RefProps<T> {
export function mergeRefs<T>(...refs: Ref<T>[]): (el: T) => void {
export function Refs(props: {
export function Ref(props: {w/ solid-refresh:
export type Ref<T> = T | ((el: T) => void) | undefined;
export interface RefProps<T> {
export function mergeRefs<T>(...refs: Ref<T>[]): (el: T) => void {
export { Refs };
export { Ref };Probably the solution and expected behavior is that library code like solid-primitives would not be processed via the solid-refresh babel pipeline?
Metadata
Metadata
Assignees
Labels
No labels