1
1
import type { Mapping } from '@volar/language-core' ;
2
- import { computed , Unstable } from 'alien-signals' ;
2
+ import { computed , unstable } from 'alien-signals' ;
3
3
import { generateScript } from '../codegen/script' ;
4
4
import { generateTemplate } from '../codegen/template' ;
5
5
import { parseScriptRanges } from '../parsers/scriptRanges' ;
@@ -95,7 +95,7 @@ function createTsx(
95
95
? parseScriptSetupRanges ( ts , _sfc . scriptSetup . ast , vueCompilerOptions . get ( ) )
96
96
: undefined
97
97
) ;
98
- const scriptSetupBindingNames = Unstable . computedSet (
98
+ const scriptSetupBindingNames = unstable . computedSet (
99
99
computed ( ( ) => {
100
100
const newNames = new Set < string > ( ) ;
101
101
const bindings = scriptSetupRanges . get ( ) ?. bindings ;
@@ -107,7 +107,7 @@ function createTsx(
107
107
return newNames ;
108
108
} )
109
109
) ;
110
- const scriptSetupImportComponentNames = Unstable . computedSet (
110
+ const scriptSetupImportComponentNames = unstable . computedSet (
111
111
computed ( ( ) => {
112
112
const newNames = new Set < string > ( ) ;
113
113
const bindings = scriptSetupRanges . get ( ) ?. bindings ;
@@ -126,7 +126,7 @@ function createTsx(
126
126
return newNames ;
127
127
} )
128
128
) ;
129
- const destructuredPropNames = Unstable . computedSet (
129
+ const destructuredPropNames = unstable . computedSet (
130
130
computed ( ( ) => {
131
131
const newNames = new Set ( scriptSetupRanges . get ( ) ?. defineProps ?. destructured ) ;
132
132
const rest = scriptSetupRanges . get ( ) ?. defineProps ?. destructuredRest ;
@@ -136,7 +136,7 @@ function createTsx(
136
136
return newNames ;
137
137
} )
138
138
) ;
139
- const templateRefNames = Unstable . computedSet (
139
+ const templateRefNames = unstable . computedSet (
140
140
computed ( ( ) => {
141
141
const newNames = new Set (
142
142
scriptSetupRanges . get ( ) ?. useTemplateRef
0 commit comments