You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importglobfrom'fast-glob'declareconstoptions: {readonlypatterns: ReadonlyArray<string>}glob(patterns)// ^^^^^^^^// Argument of type 'readonly string[]' is not assignable to parameter of type 'string | string[]'.// The type 'readonly string[]' is 'readonly' and cannot be assigned to the mutable type 'string[]'.
Expected behavior
No error. It's my first time using fast-glob, but I assume it won't actually mutate the array, right?
The text was updated successfully, but these errors were encountered:
Actual behavior
Expected behavior
No error. It's my first time using fast-glob, but I assume it won't actually mutate the array, right?
The text was updated successfully, but these errors were encountered: