mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
Don't include worklet in autocomplete; use empty object in pure for consistency
This commit is contained in:
@@ -3770,6 +3770,7 @@ const _asArrayPattern = (pats) => {
|
||||
* @param {...number | ...Pattern} inputs Worklet inputs
|
||||
* @memberof Pattern
|
||||
* @returns Pattern
|
||||
* @noAutocomplete
|
||||
*/
|
||||
Pattern.prototype.worklet = function (src, ...inputs) {
|
||||
inputs = inputs.map(reify);
|
||||
@@ -3781,4 +3782,4 @@ Pattern.prototype.worklet = function (src, ...inputs) {
|
||||
});
|
||||
};
|
||||
|
||||
export const worklet = (...args) => pure(0).worklet(...args);
|
||||
export const worklet = (...args) => pure({}).worklet(...args);
|
||||
|
||||
Reference in New Issue
Block a user