Skip to content

Commit 79d3bf8

Browse files
committed
this shouldn't be exposed
1 parent 6d03800 commit 79d3bf8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/svelte/src/store/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function readable(value, start) {
2626
* @param {any} b
2727
* @returns {boolean}
2828
*/
29-
export function safe_not_equal(a, b) {
29+
function safe_not_equal(a, b) {
3030
return a != a ? b == b : a !== b || (a && typeof a === 'object') || typeof a === 'function';
3131
}
3232

packages/svelte/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2236,8 +2236,6 @@ declare module 'svelte/store' {
22362236
* @param value initial value
22372237
* */
22382238
function readable<T>(value?: T | undefined, start?: StartStopNotifier<T> | undefined): Readable<T>;
2239-
2240-
function safe_not_equal(a: any, b: any): boolean;
22412239
/**
22422240
* Create a `Writable` store that allows both updating and reading by subscription.
22432241
*
@@ -2273,7 +2271,7 @@ declare module 'svelte/store' {
22732271
* */
22742272
function get<T>(store: Readable<T>): T;
22752273

2276-
export { Subscriber, Unsubscriber, Updater, StartStopNotifier, Readable, Writable, readable, safe_not_equal, writable, derived, readonly, get };
2274+
export { Subscriber, Unsubscriber, Updater, StartStopNotifier, Readable, Writable, readable, writable, derived, readonly, get };
22772275
}
22782276

22792277
declare module 'svelte/transition' {

0 commit comments

Comments
 (0)