chore: make naming more offensive

pull/10320/head
S. Elliott Johnson 10 months ago
parent c0d62c41c8
commit 42e7bf47fb

@ -1755,7 +1755,7 @@ export const template_visitors = {
// do until runtime
args.push(
/** @type {import('estree').Expression} */ (
context.visit(b.spread(b.call('$.shallow_thunk', arg.argument)))
context.visit(b.spread(b.call('$.thunkspread', arg.argument)))
)
);
return;

@ -1905,7 +1905,7 @@ if (DEV) {
* @param {T} iterable
* @returns {{ [P in keyof T]: () => T[P] }}
*/
export function shallow_thunk(iterable) {
export function thunkspread(iterable) {
const thunks = [];
for (const item of iterable) {
thunks.push(() => item);

@ -38,7 +38,7 @@ export {
inspect,
unwrap,
proxy_rest_array,
shallow_thunk
thunkspread
} from './client/runtime.js';
export * from './client/each.js';

Loading…
Cancel
Save