@stacksjs/stx-vscode 0.2.852 → 0.2.854
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -422,11 +422,12 @@ declare function useFocus(_target: HTMLElement | StxRef<HTMLElement | null> | st
|
|
|
422
422
|
// ============================================================================
|
|
423
423
|
|
|
424
424
|
declare function useDebounce<T extends (..._args: any[]) => any>(_fn: T, _delay: number): T
|
|
425
|
-
|
|
425
|
+
// Runtime aliases are properties of the browser global, including in typeof globalThis.
|
|
426
|
+
declare var useDebounceFn: typeof useDebounce
|
|
426
427
|
declare function useDebouncedValue<T>(_value: StxSignal<T>, _delay: number): StxSignal<T>
|
|
427
|
-
declare
|
|
428
|
+
declare var refDebounced: typeof useDebouncedValue
|
|
428
429
|
declare function useThrottle<T extends (..._args: any[]) => any>(_fn: T, _delay: number): T
|
|
429
|
-
declare
|
|
430
|
+
declare var useThrottleFn: typeof useThrottle
|
|
430
431
|
interface StxIntervalOptions {
|
|
431
432
|
/** Tick once on start/resume instead of waiting out the first interval. */
|
|
432
433
|
immediate?: boolean
|
|
@@ -468,8 +469,8 @@ declare function useTimeout(_fn: () => void, _ms?: number): {
|
|
|
468
469
|
stop: () => void
|
|
469
470
|
subscribe: (_fn: (_pending: boolean) => void) => () => void
|
|
470
471
|
}
|
|
471
|
-
declare
|
|
472
|
-
declare
|
|
472
|
+
declare var useTimeoutFn: typeof useTimeout
|
|
473
|
+
declare var useBroadcastStream: typeof import('@stacksjs/stx').useBroadcastStream
|
|
473
474
|
declare function nextTick(_fn?: () => void): Promise<void>
|
|
474
475
|
|
|
475
476
|
// ============================================================================
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/stx-vscode",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.854",
|
|
5
5
|
"description": "stx language support for VS Code extensions to embed: the hovers, completions, diagnostics, grammar, snippets, language configuration and TypeScript server plugin behind the stx extension.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|