Skip to content

Commit d6f0b7b

Browse files
Rich-HarrisRich Harris
and
Rich Harris
authored
Fix types (#8727)
* put comment in right place * bump dts-buddy --------- Co-authored-by: Rich Harris <[email protected]>
1 parent 8bd9021 commit d6f0b7b

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

packages/svelte/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"@types/node": "^14.14.31",
126126
"@typescript-eslint/eslint-plugin": "^5.58.0",
127127
"agadoo": "^3.0.0",
128-
"dts-buddy": "^0.1.2",
128+
"dts-buddy": "^0.1.4",
129129
"esbuild": "^0.17.19",
130130
"happy-dom": "^9.18.3",
131131
"jsdom": "^21.1.1",

packages/svelte/src/runtime/internal/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export function subscribe(store, ...callbacks) {
106106
}
107107

108108
/**
109+
* Get the current value from a store by subscribing and immediately unsubscribing.
109110
* @template T
110111
* @param {import('../store/public.js').Readable<T>} store
111112
* @returns {T}

packages/svelte/src/runtime/store/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,4 @@ export function readonly(store) {
189189
};
190190
}
191191

192-
/**
193-
* Get the current value from a store by subscribing and immediately unsubscribing.
194-
* @template T
195-
* @param {import('./public.js').Readable<T>} store readable
196-
* @returns {T}
197-
*/
198192
export { get_store_value as get };

pnpm-lock.yaml

Lines changed: 14 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)