( vm: ComponentPublicInstance )
| 228 | } |
| 229 | |
| 230 | export function isScriptSetup( |
| 231 | vm: ComponentPublicInstance |
| 232 | ): vm is ComponentPublicInstance & { |
| 233 | $: { setupState: Record<string, unknown> } |
| 234 | } { |
| 235 | return ( |
| 236 | vm && (vm.$ as unknown as { setupState: any }).setupState.__isScriptSetup |
| 237 | ) |
| 238 | } |
| 239 | |
| 240 | let _globalThis: any |
| 241 | export const getGlobalThis = (): any => { |
no outgoing calls
no test coverage detected
searching dependent graphs…